Interface ICacheAdapter
Assembly: AzureFromTheTrenches.Commanding.Cache.dll
Syntax
public interface ICacheAdapter
Methods
|
Improve this Doc
View Source
Get<T>(String)
Declaration
Task<T> Get<T>(string key)
Parameters
Type |
Name |
Description |
System.String |
key |
|
Returns
Type Parameters
|
Improve this Doc
View Source
Set(String, Object, DateTime)
Declaration
Task Set(string key, object value, DateTime expiresAt)
Parameters
Type |
Name |
Description |
System.String |
key |
|
System.Object |
value |
|
DateTime |
expiresAt |
|
Returns
|
Improve this Doc
View Source
Set(String, Object, TimeSpan)
Declaration
Task Set(string key, object value, TimeSpan lifeTime)
Parameters
Type |
Name |
Description |
System.String |
key |
|
System.Object |
value |
|
TimeSpan |
lifeTime |
|
Returns