C# Класс NHibernate.Caches.Couchbase.CouchbaseCacheClient

Наследование: ICache
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
ComputeHash string
CouchbaseCacheClient System
FullKeyAsString string
GetAlternateKeyHash string
GetExpirationString string
KeyAsString string

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

Метод Описание
Clear ( ) : void
CouchbaseCacheClient ( string regionName ) : System
CouchbaseCacheClient ( string regionName, string>.IDictionary properties ) : System
CouchbaseCacheClient ( string regionName, string>.IDictionary properties, CouchbaseClient couchbaseClient ) : System
Destroy ( ) : void
Get ( object key ) : object
Lock ( object key ) : void
NextTimestamp ( ) : long
Put ( object key, object value ) : void
Remove ( object key ) : void
Unlock ( object key ) : void

Приватные методы

Метод Описание
ComputeHash ( string fullKeyString, HashAlgorithm hashAlgorithm ) : string

Compute the hash of the full key string using the given hash algorithm

CouchbaseCacheClient ( ) : System
FullKeyAsString ( object key ) : string

Turn the key object into a human readable string.

GetAlternateKeyHash ( object key ) : string

Compute an alternate key hash; used as a check that the looked-up value is in fact what has been put there in the first place.

GetExpirationString ( string>.IDictionary props ) : string
KeyAsString ( object key ) : string

Turn the key obj into a string, preperably using human readable string, and if the string is too long (>=250) it will be hashed

Описание методов

Clear() публичный Метод

public Clear ( ) : void
Результат void

CouchbaseCacheClient() публичный Метод

public CouchbaseCacheClient ( string regionName ) : System
regionName string
Результат System

CouchbaseCacheClient() публичный Метод

public CouchbaseCacheClient ( string regionName, string>.IDictionary properties ) : System
regionName string
properties string>.IDictionary
Результат System

CouchbaseCacheClient() публичный Метод

public CouchbaseCacheClient ( string regionName, string>.IDictionary properties, CouchbaseClient couchbaseClient ) : System
regionName string
properties string>.IDictionary
couchbaseClient CouchbaseClient
Результат System

Destroy() публичный Метод

public Destroy ( ) : void
Результат void

Get() публичный Метод

public Get ( object key ) : object
key object
Результат object

Lock() публичный Метод

public Lock ( object key ) : void
key object
Результат void

NextTimestamp() публичный Метод

public NextTimestamp ( ) : long
Результат long

Put() публичный Метод

public Put ( object key, object value ) : void
key object
value object
Результат void

Remove() публичный Метод

public Remove ( object key ) : void
key object
Результат void

Unlock() публичный Метод

public Unlock ( object key ) : void
key object
Результат void