C# Класс Enyim.Membase.MembaseClient

Client which can be used to connect to NothScale's Memcached and Enyim.Membase servers.
Наследование: MemcachedClient
Показать файл Открыть проект

Открытые методы

Метод Описание
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