Show / Hide Table of Contents

Interface ICacheAdapter

Namespace: AzureFromTheTrenches.Commanding.Cache
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 Description
Task<T>
Type Parameters
Name Description
T
| 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
Type Description
Task
| 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
Type Description
Task
  • Improve this Doc
  • View Source
  • 0 Comments
Back to top Copyright © 2018 James Randall