public void SetCollection <T>(Key key, IEnumerable <T> values, ulong cas) { _retryStrategy.ExecuteDelegateWithRetry( () => StoreProvider.Set(key, String.Concat(values.Select(s => Serializer.Serialize(s))), cas) ); }
public void Set <T>(Key key, T value, ulong cas, DateTime expires) { _retryStrategy.ExecuteDelegateWithRetry( () => StoreProvider.Set(key, Serializer.Serialize(value), cas, expires)); }
public void Set <T>(Key key, T value, TimeSpan expiresIn) { _retryStrategy.ExecuteDelegateWithRetry( () => StoreProvider.Set(key, Serializer.Serialize(value), expiresIn)); }
public void Set <T>(Key key, T value) { _retryStrategy.ExecuteDelegateWithRetry( () => StoreProvider.Set(key, Serializer.Serialize(value))); }