public ClearCacheRequestTests()
		{
			var request = new ClearCacheRequest()
			{
				Indices = new IndexNameMarker[] { typeof(ElasticsearchProject), "my-other-index"}, 
			};
			var response = this._client.ClearCache(request);
			this._status = response.ConnectionStatus;
		}
Exemplo n.º 2
0
        public ClearCacheRequestTests()
        {
            var request = new ClearCacheRequest()
            {
                Indices = new IndexNameMarker[] { typeof(ElasticsearchProject), "my-other-index" },
            };
            var response = this._client.ClearCache(request);

            this._status = response.ConnectionStatus;
        }
Exemplo n.º 3
0
 public override Task <ClearCacheReply> ClearCache(ClearCacheRequest request, ServerCallContext context)
 {
     _cache.Clear();
     return(Task.FromResult(new ClearCacheReply()));
 }