C# 클래스 Whalin.Caching.MemcachedManager

Memcached管理操作类
파일 보기 프로젝트 열기: xianrendzw/LightFramework.Net

공개 메소드들

메소드 설명
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 ( ) : ArrayList

获取服务器端缓存的数据信息

GetStats ( ArrayList serverArrayList, Stats statsCommand, string param ) : ArrayList

获取服务器端缓存的数据信息

비공개 메소드들

메소드 설명
GetSection ( string sectionName ) : IMemcachedClientConfiguration

메소드 상세

CreateClient() 공개 정적인 메소드

Initializes a new MemcachedClient instance using the default configuration section (caching/whalinMemcached).
public static CreateClient ( ) : MemcachedClient
리턴 MemcachedClient

CreateClient() 공개 정적인 메소드

Initializes a new instance of the T:MemcachedClient using the specified configuration instance.
public static CreateClient ( IMemcachedClientConfiguration configuration ) : MemcachedClient
configuration IMemcachedClientConfiguration The memcachedClient configuration.
리턴 MemcachedClient

CreateClient() 공개 정적인 메소드

Initializes a new MemcachedClient instance using the specified configuration section. This overload allows to create multiple MemcachedClients with different sockIOPool configurations.
public static CreateClient ( string sectionName ) : MemcachedClient
sectionName string The name of the configuration section to be used for configuring the behavior of the memcachedClient.
리턴 MemcachedClient

Dispose() 공개 정적인 메소드

public static Dispose ( ) : void
리턴 void

GetConnectedSocketHost() 공개 정적인 메소드

获取有效的服务器地址
public static GetConnectedSocketHost ( ) : string[]
리턴 string[]

GetSocketHost() 공개 정적인 메소드

获取当前缓存键值所存储在的服务器
public static GetSocketHost ( string key ) : string
key string 当前缓存键
리턴 string

GetStats() 공개 정적인 메소드

获取服务器端缓存的数据信息
public static GetStats ( ) : ArrayList
리턴 System.Collections.ArrayList

GetStats() 공개 정적인 메소드

获取服务器端缓存的数据信息
public static GetStats ( ArrayList serverArrayList, Stats statsCommand, string param ) : ArrayList
serverArrayList System.Collections.ArrayList 要访问的服务列表
statsCommand Stats
param string
리턴 System.Collections.ArrayList