org.elasticsearch.action.support.replication
Class IndicesReplicationOperationRequest
java.lang.Object
org.elasticsearch.action.support.replication.IndicesReplicationOperationRequest
- All Implemented Interfaces:
- ActionRequest, Streamable
- Direct Known Subclasses:
- DeleteByQueryRequest, GatewaySnapshotRequest, ReplicationPingRequest
public class IndicesReplicationOperationRequest
- extends java.lang.Object
- implements ActionRequest
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
timeout
protected TimeValue timeout
indices
protected java.lang.String[] indices
replicationType
protected ReplicationType replicationType
IndicesReplicationOperationRequest
public IndicesReplicationOperationRequest()
timeout
public TimeValue timeout()
indices
public java.lang.String[] indices()
indices
public IndicesReplicationOperationRequest indices(java.lang.String[] indices)
validate
public ActionRequestValidationException validate()
- Specified by:
validate
in interface ActionRequest
listenerThreaded
public boolean listenerThreaded()
- Should the listener be called on a separate thread if needed.
- Specified by:
listenerThreaded
in interface ActionRequest
listenerThreaded
public IndicesReplicationOperationRequest listenerThreaded(boolean threadedListener)
- Should the listener be called on a separate thread if needed.
- Specified by:
listenerThreaded
in interface ActionRequest
replicationType
public ReplicationType replicationType()
readFrom
public void readFrom(StreamInput in)
throws java.io.IOException
- Specified by:
readFrom
in interface Streamable
- Throws:
java.io.IOException
writeTo
public void writeTo(StreamOutput out)
throws java.io.IOException
- Specified by:
writeTo
in interface Streamable
- Throws:
java.io.IOException