org.elasticsearch.action.support.replication
Class IndicesReplicationOperationRequest

java.lang.Object
  extended by 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


Field Summary
protected  java.lang.String[] indices
           
protected  TimeValue timeout
           
 
Constructor Summary
IndicesReplicationOperationRequest()
           
 
Method Summary
 java.lang.String[] indices()
           
 IndicesReplicationOperationRequest indices(java.lang.String[] indices)
           
 boolean listenerThreaded()
          Should the listener be called on a separate thread if needed.
 IndicesReplicationOperationRequest listenerThreaded(boolean threadedListener)
          Should the listener be called on a separate thread if needed.
 void readFrom(StreamInput in)
           
 TimeValue timeout()
           
 ActionRequestValidationException validate()
           
 void writeTo(StreamOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

timeout

protected TimeValue timeout

indices

protected java.lang.String[] indices
Constructor Detail

IndicesReplicationOperationRequest

public IndicesReplicationOperationRequest()
Method Detail

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

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