C# 클래스 NHibernate.Caches.Couchbase.CouchbaseCacheClient

상속: ICache
파일 보기 프로젝트 열기: couchbaselabs/nhibernate-caches-couchbase

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