org.elasticsearch.client.action.admin.indices.cache.clear
Class ClearIndicesCacheRequestBuilder

java.lang.Object
  extended by org.elasticsearch.client.action.admin.indices.support.BaseIndicesRequestBuilder<ClearIndicesCacheRequest,ClearIndicesCacheResponse>
      extended by org.elasticsearch.client.action.admin.indices.cache.clear.ClearIndicesCacheRequestBuilder
All Implemented Interfaces:
RequestBuilder<ClearIndicesCacheRequest,ClearIndicesCacheResponse>

public class ClearIndicesCacheRequestBuilder
extends BaseIndicesRequestBuilder<ClearIndicesCacheRequest,ClearIndicesCacheResponse>


Field Summary
 
Fields inherited from class org.elasticsearch.client.action.admin.indices.support.BaseIndicesRequestBuilder
client, request
 
Constructor Summary
ClearIndicesCacheRequestBuilder(IndicesAdminClient indicesClient)
           
 
Method Summary
protected  void doExecute(ActionListener<ClearIndicesCacheResponse> listener)
           
 ClearIndicesCacheRequestBuilder setFilterCache(boolean filterCache)
          Should the filter cache be cleared or not.
 ClearIndicesCacheRequestBuilder setIndices(java.lang.String... indices)
           
 ClearIndicesCacheRequestBuilder setListenerThreaded(boolean threadedListener)
          Should the listener be called on a separate thread if needed.
 ClearIndicesCacheRequestBuilder setOperationThreading(BroadcastOperationThreading operationThreading)
          Controls the operation threading model.
 
Methods inherited from class org.elasticsearch.client.action.admin.indices.support.BaseIndicesRequestBuilder
execute, execute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClearIndicesCacheRequestBuilder

public ClearIndicesCacheRequestBuilder(IndicesAdminClient indicesClient)
Method Detail

setIndices

public ClearIndicesCacheRequestBuilder setIndices(java.lang.String... indices)

setFilterCache

public ClearIndicesCacheRequestBuilder setFilterCache(boolean filterCache)
Should the filter cache be cleared or not. Defaults to true.


setListenerThreaded

public ClearIndicesCacheRequestBuilder setListenerThreaded(boolean threadedListener)
Should the listener be called on a separate thread if needed.


setOperationThreading

public ClearIndicesCacheRequestBuilder setOperationThreading(BroadcastOperationThreading operationThreading)
Controls the operation threading model.


doExecute

protected void doExecute(ActionListener<ClearIndicesCacheResponse> listener)
Specified by:
doExecute in class BaseIndicesRequestBuilder<ClearIndicesCacheRequest,ClearIndicesCacheResponse>