org.elasticsearch.action.admin.indices.cache.clear
Class ClearIndicesCacheRequest
java.lang.Object
org.elasticsearch.action.support.broadcast.BroadcastOperationRequest
org.elasticsearch.action.admin.indices.cache.clear.ClearIndicesCacheRequest
- All Implemented Interfaces:
- ActionRequest, Streamable
public class ClearIndicesCacheRequest
- extends BroadcastOperationRequest
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClearIndicesCacheRequest
public ClearIndicesCacheRequest(java.lang.String... indices)
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