Method SetWriteThroughCallback
SetWriteThroughCallback(Action<TKey, TValue>)
Sets a callback used to persist cache updates to a backing store.
public CacheBuilder<TKey, TValue> SetWriteThroughCallback(Action<TKey, TValue> writeThroughCallback)
Parameters
writeThroughCallback
Action<TKey, TValue>Method that persists the provided object to a backing store.
Returns
- CacheBuilder<TKey, TValue>
A builder object that can be used to further configure the cache.