Свойство | Тип | Описание | |
---|---|---|---|
Configure | void | ||
DeserializeValue | object | ||
GetCacheId | string | ||
GetCompressThreshold | int | ||
GetConnectionString | string | ||
GetExpiration | TimeSpan | ||
SerializeValue | MongoCacheEntry |
Метод | Описание | |
---|---|---|
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
|
|
MongoCacheClient ( ) : System |
생성자
|
|
MongoCacheClient ( string regionName ) : System |
생성자
|
|
MongoCacheClient ( string regionName, string>.IDictionary |
생성자
|
|
NextTimestamp ( ) : long |
Generate a timestamp
|
|
Put ( object key, object value ) : void |
캐시에 값을 저장합니다.
|
|
Remove ( object key ) : void |
캐시에서 해당 키의 캐시 항목을 삭제합니다.
|
|
Unlock ( object key ) : void |
If this is a clustered cache, unlock the item
|
Метод | Описание | |
---|---|---|
Configure ( string>.IDictionary |
||
DeserializeValue ( MongoCacheEntry entry ) : object |
캐시에 저장된 MongoCacheEntry에서 원본 값을 추출합니다.
|
|
GetCacheId ( object key ) : string |
캐시 저장 시의 고유 Id값을 생성합니다.
|
|
GetCompressThreshold ( string>.IDictionary |
||
GetConnectionString ( string>.IDictionary |
||
GetExpiration ( string>.IDictionary |
||
SerializeValue ( object key, object value ) : MongoCacheEntry |
객체를 캐시에 저장하기 위해, MongoCacheEntry 인스턴스로 빌드합니다.
|
public Lock ( object key ) : void | ||
key | object | The Id of the Item in the Cache to lock. |
Результат | void |
public MongoCacheClient ( string regionName ) : System | ||
regionName | string | |
Результат | System |
public MongoCacheClient ( string regionName, string>.IDictionary |
||
regionName | string | |
props | string>.IDictionary | |
Результат | System |
public Put ( object key, object value ) : void | ||
key | object | 키 |
value | object | 값 |
Результат | void |
public Remove ( object key ) : void | ||
key | object | The Id of the Item in the Cache to remove. |
Результат | void |
public Unlock ( object key ) : void | ||
key | object | The Id of the Item in the Cache to unlock. |
Результат | void |