C# 클래스 Enyim.Membase.MembaseClient

Client which can be used to connect to NothScale's Memcached and Enyim.Membase servers.
상속: MemcachedClient
파일 보기 프로젝트 열기: xianrendzw/LightFramework.Net

공개 메소드들

메소드 설명
MembaseClient ( ) : System

Initializes a new instance of the T:Enyim.Membase.MembaseClient class using the default configuration and bucket.

The configuration is taken from the /configuration/membase section.

MembaseClient ( IMembaseClientConfiguration configuration ) : System

Initializes a new instance of the T:Enyim.Membase.MembaseClient class using a custom configuration provider.

MembaseClient ( IMembaseClientConfiguration configuration, string bucketName, string bucketPassword ) : System

Initializes a new instance of the T:Enyim.Membase.MembaseClient class using a custom configuration provider and the specified bucket name and password.

MembaseClient ( string bucketName, string bucketPassword ) : System

Initializes a new instance of the T:Enyim.Membase.MembaseClient class using the default configuration and the specified bucket.

The configuration is taken from the /configuration/membase section.

MembaseClient ( string sectionName, string bucketName, string bucketPassword ) : System

Initializes a new instance of the T:Enyim.Membase.MembaseClient class using the specified configuration section and the specified bucket.

보호된 메소드들

메소드 설명
PerformConcatenate ( ConcatenationMode mode, string key, ulong &cas, ArraySegment data ) : bool
PerformMutate ( MutationMode mode, string key, ulong defaultValue, ulong delta, uint expires, ulong &cas ) : ulong
PerformStore ( StoreMode mode, string key, object value, uint expires, ulong &cas ) : bool
PerformTryGet ( string key, ulong &cas, object &value ) : bool

비공개 메소드들

메소드 설명
ExecuteWithRedirect ( IMemcachedNode startNode, ISingleItemOperation op ) : bool
MembaseClient ( IMembaseClientConfiguration configuration, string bucketName ) : System
MembaseClient ( string bucketName ) : System

메소드 상세

MembaseClient() 공개 메소드

Initializes a new instance of the T:Enyim.Membase.MembaseClient class using the default configuration and bucket.
The configuration is taken from the /configuration/membase section.
public MembaseClient ( ) : System
리턴 System

MembaseClient() 공개 메소드

Initializes a new instance of the T:Enyim.Membase.MembaseClient class using a custom configuration provider.
public MembaseClient ( IMembaseClientConfiguration configuration ) : System
configuration IMembaseClientConfiguration The custom configuration provider.
리턴 System

MembaseClient() 공개 메소드

Initializes a new instance of the T:Enyim.Membase.MembaseClient class using a custom configuration provider and the specified bucket name and password.
public MembaseClient ( IMembaseClientConfiguration configuration, string bucketName, string bucketPassword ) : System
configuration IMembaseClientConfiguration The custom configuration provider.
bucketName string The name of the bucket this memcachedClient will connect to.
bucketPassword string The password of the bucket this memcachedClient will connect to.
리턴 System

MembaseClient() 공개 메소드

Initializes a new instance of the T:Enyim.Membase.MembaseClient class using the default configuration and the specified bucket.
The configuration is taken from the /configuration/membase section.
public MembaseClient ( string bucketName, string bucketPassword ) : System
bucketName string
bucketPassword string
리턴 System

MembaseClient() 공개 메소드

Initializes a new instance of the T:Enyim.Membase.MembaseClient class using the specified configuration section and the specified bucket.
public MembaseClient ( string sectionName, string bucketName, string bucketPassword ) : System
sectionName string The name of the configuration section to load.
bucketName string The name of the bucket this memcachedClient will connect to.
bucketPassword string The password of the bucket this memcachedClient will connect to.
리턴 System

PerformConcatenate() 보호된 메소드

protected PerformConcatenate ( ConcatenationMode mode, string key, ulong &cas, ArraySegment data ) : bool
mode ConcatenationMode
key string
cas ulong
data ArraySegment
리턴 bool

PerformMutate() 보호된 메소드

protected PerformMutate ( MutationMode mode, string key, ulong defaultValue, ulong delta, uint expires, ulong &cas ) : ulong
mode MutationMode
key string
defaultValue ulong
delta ulong
expires uint
cas ulong
리턴 ulong

PerformStore() 보호된 메소드

protected PerformStore ( StoreMode mode, string key, object value, uint expires, ulong &cas ) : bool
mode StoreMode
key string
value object
expires uint
cas ulong
리턴 bool

PerformTryGet() 보호된 메소드

protected PerformTryGet ( string key, ulong &cas, object &value ) : bool
key string
cas ulong
value object
리턴 bool