org.elasticsearch.action.admin.indices.cache.clear
Class ClearIndicesCacheRequest

java.lang.Object
  extended by org.elasticsearch.action.support.broadcast.BroadcastOperationRequest
      extended by org.elasticsearch.action.admin.indices.cache.clear.ClearIndicesCacheRequest
All Implemented Interfaces:
ActionRequest, Streamable

public class ClearIndicesCacheRequest
extends BroadcastOperationRequest


Field Summary
 
Fields inherited from class org.elasticsearch.action.support.broadcast.BroadcastOperationRequest
indices
 
Constructor Summary
ClearIndicesCacheRequest(java.lang.String... indices)
           
 
Method Summary
 boolean filterCache()
           
 ClearIndicesCacheRequest filterCache(boolean filterCache)
          Should the filter cache be cleared or not.
 ClearIndicesCacheRequest listenerThreaded(boolean threadedListener)
          Should the listener be called on a separate thread if needed.
 ClearIndicesCacheRequest operationThreading(BroadcastOperationThreading operationThreading)
          Controls the operation threading model.
 void readFrom(StreamInput in)
           
 void writeTo(StreamOutput out)
           
 
Methods inherited from class org.elasticsearch.action.support.broadcast.BroadcastOperationRequest
beforeLocalFork, indices, indices, listenerThreaded, operationThreading, operationThreading, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClearIndicesCacheRequest

public ClearIndicesCacheRequest(java.lang.String... indices)
Method Detail

listenerThreaded

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

Specified by:
listenerThreaded in interface ActionRequest
Overrides:
listenerThreaded in class BroadcastOperationRequest

operationThreading

public ClearIndicesCacheRequest operationThreading(BroadcastOperationThreading operationThreading)
Controls the operation threading model.

Overrides:
operationThreading in class BroadcastOperationRequest

filterCache

public boolean filterCache()

filterCache

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


readFrom

public void readFrom(StreamInput in)
              throws java.io.IOException
Specified by:
readFrom in interface Streamable
Overrides:
readFrom in class BroadcastOperationRequest
Throws:
java.io.IOException

writeTo

public void writeTo(StreamOutput out)
             throws java.io.IOException
Specified by:
writeTo in interface Streamable
Overrides:
writeTo in class BroadcastOperationRequest
Throws:
java.io.IOException