Méthode | Description | |
---|---|---|
BeginCacheLock ( string resourceName, string key, int retryCount, System.TimeSpan retryDelay = newTimeSpan() ) : ICacheLock | ||
CheckExisted ( string key, bool isFullKey = false ) : bool | ||
Get ( string key, bool isFullKey = false ) : object | ||
GetAll ( ) : object>.IDictionary |
||
GetCount ( ) : long | ||
InsertToCache ( string key, object value ) : void | ||
MemcachedObjectCacheStrategy ( ) : System |
LocalCacheStrategy的构造函数
|
|
RegisterServerList ( int>.Dictionary |
注册列表
|
|
RemoveFromCache ( string key, bool isFullKey = false ) : void | ||
Update ( string key, object value, bool isFullKey = false ) : void |
Méthode | Description | |
---|---|---|
GetMemcachedClientConfiguration ( ) : |
public BeginCacheLock ( string resourceName, string key, int retryCount, System.TimeSpan retryDelay = newTimeSpan() ) : ICacheLock | ||
resourceName | string | |
key | string | |
retryCount | int | |
retryDelay | System.TimeSpan | |
Résultat | ICacheLock |
public CheckExisted ( string key, bool isFullKey = false ) : bool | ||
key | string | |
isFullKey | bool | |
Résultat | bool |
public Get ( string key, bool isFullKey = false ) : object | ||
key | string | |
isFullKey | bool | |
Résultat | object |
public InsertToCache ( string key, object value ) : void | ||
key | string | |
value | object | |
Résultat | void |
public MemcachedObjectCacheStrategy ( ) : System | ||
Résultat | System |
public static RegisterServerList ( int>.Dictionary |
||
serverlist | int>.Dictionary | Key:服务器地址(通常为IP),Value:端口 |
Résultat | void |
public RemoveFromCache ( string key, bool isFullKey = false ) : void | ||
key | string | |
isFullKey | bool | |
Résultat | void |
public Update ( string key, object value, bool isFullKey = false ) : void | ||
key | string | |
value | object | |
isFullKey | bool | |
Résultat | void |