Method | Description | |
---|---|---|
CreateClient ( ) : MemcachedClient |
Initializes a new MemcachedClient instance using the default configuration section (caching/whalinMemcached).
|
|
CreateClient ( IMemcachedClientConfiguration configuration ) : MemcachedClient |
Initializes a new instance of the T:MemcachedClient using the specified configuration instance.
|
|
CreateClient ( string sectionName ) : MemcachedClient |
Initializes a new MemcachedClient instance using the specified configuration section. This overload allows to create multiple MemcachedClients with different sockIOPool configurations.
|
|
Dispose ( ) : void | ||
GetConnectedSocketHost ( ) : string[] |
获取有效的服务器地址
|
|
GetSocketHost ( string key ) : string |
获取当前缓存键值所存储在的服务器
|
|
GetStats ( ) : |
获取服务器端缓存的数据信息
|
|
GetStats ( |
获取服务器端缓存的数据信息
|
Method | Description | |
---|---|---|
GetSection ( string sectionName ) : IMemcachedClientConfiguration |
public static CreateClient ( ) : MemcachedClient | ||
return | MemcachedClient |
public static CreateClient ( IMemcachedClientConfiguration configuration ) : MemcachedClient | ||
configuration | IMemcachedClientConfiguration | The memcachedClient configuration. |
return | MemcachedClient |
public static CreateClient ( string sectionName ) : MemcachedClient | ||
sectionName | string | The name of the configuration section to be used for configuring the behavior of the memcachedClient. |
return | MemcachedClient |
public static GetConnectedSocketHost ( ) : string[] | ||
return | string[] |
public static GetSocketHost ( string key ) : string | ||
key | string | 当前缓存键 |
return | string |
public static GetStats ( ) : |
||
return |
public static GetStats ( |
||
serverArrayList | 要访问的服务列表 | |
statsCommand | Stats | |
param | string | |
return |