public ClearCacheRequestTests() { var request = new ClearCacheRequest() { Indices = new IndexNameMarker[] { typeof(ElasticsearchProject), "my-other-index"}, }; var response = this._client.ClearCache(request); this._status = response.ConnectionStatus; }
public ClearCacheRequestTests() { var request = new ClearCacheRequest() { Indices = new IndexNameMarker[] { typeof(ElasticsearchProject), "my-other-index" }, }; var response = this._client.ClearCache(request); this._status = response.ConnectionStatus; }
public override Task <ClearCacheReply> ClearCache(ClearCacheRequest request, ServerCallContext context) { _cache.Clear(); return(Task.FromResult(new ClearCacheReply())); }