Méthode | 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 ( |
获取服务器端缓存的数据信息
|
Méthode | Description | |
---|---|---|
GetSection ( string sectionName ) : IMemcachedClientConfiguration |
public static CreateClient ( ) : MemcachedClient | ||
Résultat | MemcachedClient |
public static CreateClient ( IMemcachedClientConfiguration configuration ) : MemcachedClient | ||
configuration | IMemcachedClientConfiguration | The memcachedClient configuration. |
Résultat | 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. |
Résultat | MemcachedClient |
public static GetConnectedSocketHost ( ) : string[] | ||
Résultat | string[] |
public static GetSocketHost ( string key ) : string | ||
key | string | 当前缓存键 |
Résultat | string |
public static GetStats ( ) : |
||
Résultat |
public static GetStats ( |
||
serverArrayList | 要访问的服务列表 | |
statsCommand | Stats | |
param | string | |
Résultat |