C# 클래스 NSoft.NFramework.Caching.Memcached.NHCaches.MemcachedCacheClient

Memcached를 캐시 저장소로 사용하는 NHibernate 2nd Cache의 Client 클래스입니다.
상속: NHibernate.Cache.ICache
파일 보기 프로젝트 열기: debop/NFramework 1 사용 예제들

공개 메소드들

메소드 설명
Clear ( ) : void

Clear the Cache

Destroy ( ) : void

Clean up.

Get ( object key ) : object

Get the object from the Cache

Lock ( object key ) : void

If this is a clustered cache, lock the item

MemcachedCacheClient ( ) : System
MemcachedCacheClient ( string regionName ) : System
MemcachedCacheClient ( string regionName, string>.IDictionary properties ) : System
NextTimestamp ( ) : long

Generate a timestamp

Put ( object key, object value ) : void

항목을 캐시에 저장

Remove ( object key ) : void

Remove an item from the Cache.

Unlock ( object key ) : void

If this is a clustered cache, unlock the item

비공개 메소드들

메소드 설명
Configure ( string>.IDictionary props ) : void
GetCacheId ( object key ) : string
GetCompressThreshold ( string>.IDictionary props ) : int
GetExpiration ( string>.IDictionary props ) : System.TimeSpan

메소드 상세

Clear() 공개 메소드

Clear the Cache
public Clear ( ) : void
리턴 void

Destroy() 공개 메소드

Clean up.
public Destroy ( ) : void
리턴 void

Get() 공개 메소드

Get the object from the Cache
public Get ( object key ) : object
key object
리턴 object

Lock() 공개 메소드

If this is a clustered cache, lock the item
public Lock ( object key ) : void
key object The Key of the Item in the Cache to lock.
리턴 void

MemcachedCacheClient() 공개 메소드

public MemcachedCacheClient ( ) : System
리턴 System

MemcachedCacheClient() 공개 메소드

public MemcachedCacheClient ( string regionName ) : System
regionName string
리턴 System

MemcachedCacheClient() 공개 메소드

public MemcachedCacheClient ( string regionName, string>.IDictionary properties ) : System
regionName string
properties string>.IDictionary
리턴 System

NextTimestamp() 공개 메소드

Generate a timestamp
public NextTimestamp ( ) : long
리턴 long

Put() 공개 메소드

항목을 캐시에 저장
public Put ( object key, object value ) : void
key object
value object
리턴 void

Remove() 공개 메소드

Remove an item from the Cache.
public Remove ( object key ) : void
key object The Key of the Item in the Cache to remove.
리턴 void

Unlock() 공개 메소드

If this is a clustered cache, unlock the item
public Unlock ( object key ) : void
key object The Key of the Item in the Cache to unlock.
리턴 void