public async Task PutRecord <T>( CacheRecord <T> cacheRecord, string cacheName = "") { var req = new CachePushRequest(); req.Record = GetBytes(cacheRecord.Record); if (cacheRecord.Metadata != null) { req.Metadata = GetBytes(cacheRecord.Metadata); } req.Id = cacheRecord.Id; req.Environment = Util.GetEnvironment(); req.CacheName = cacheName; await _client.CachePushAsync(req); }
public Task PutRecord <T>( CacheRecord <T> cacheRecord, string cacheName = null) { return(Task.CompletedTask); }