org.elasticsearch.action.admin.indices.status
Class IndicesStatusRequest
java.lang.Object
org.elasticsearch.action.support.broadcast.BroadcastOperationRequest
org.elasticsearch.action.admin.indices.status.IndicesStatusRequest
- All Implemented Interfaces:
- ActionRequest, Streamable
public class IndicesStatusRequest
- extends BroadcastOperationRequest
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IndicesStatusRequest
public IndicesStatusRequest()
IndicesStatusRequest
public IndicesStatusRequest(java.lang.String... indices)
recovery
public IndicesStatusRequest recovery(boolean recovery)
- Should the status include recovery information. Defaults to false.
recovery
public boolean recovery()
snapshot
public IndicesStatusRequest snapshot(boolean snapshot)
- Should the status include recovery information. Defaults to false.
snapshot
public boolean snapshot()
listenerThreaded
public IndicesStatusRequest listenerThreaded(boolean listenerThreaded)
- Description copied from class:
BroadcastOperationRequest
- Should the listener be called on a separate thread if needed.
- Specified by:
listenerThreaded
in interface ActionRequest
- Overrides:
listenerThreaded
in class BroadcastOperationRequest
operationThreading
public BroadcastOperationRequest operationThreading(BroadcastOperationThreading operationThreading)
- Description copied from class:
BroadcastOperationRequest
- Controls the operation threading model.
- Overrides:
operationThreading
in class BroadcastOperationRequest
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
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