Inheritance
System.Object
TwoLayerCache
Namespace:InfinniPlatform.Cache
Assembly:InfinniPlatform.Cache.TwoLayer.dll
public class TwoLayerCache : object, ITwoLayerCache
Constructors
|
Improve this Doc
View Source
Declaration
public TwoLayerCache(IInMemoryCacheFactory inMemoryCacheFactory, ISharedCacheFactory sharedCacheFactory, ITwoLayerCacheStateObserver сacheStateObserver)
Parameters
Methods
|
Improve this Doc
View Source
Declaration
public bool Contains(string key)
Parameters
Type |
Name |
Description |
System.String |
key |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Declaration
public string Get(string key)
Parameters
Type |
Name |
Description |
System.String |
key |
|
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Declaration
public bool Remove(string key)
Parameters
Type |
Name |
Description |
System.String |
key |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Declaration
public void Set(string key, string value)
Parameters
Type |
Name |
Description |
System.String |
key |
|
System.String |
value |
|
|
Improve this Doc
View Source
Declaration
public bool TryGet(string key, out string value)
Parameters
Type |
Name |
Description |
System.String |
key |
|
System.String |
value |
|
Returns
Type |
Description |
System.Boolean |
|
Extension Methods