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
public class IndicesReplicationOperationRequest
- extends 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 String[] indices
replicationType
protected ReplicationType replicationType
consistencyLevel
protected WriteConsistencyLevel consistencyLevel
IndicesReplicationOperationRequest
public IndicesReplicationOperationRequest()
timeout
public TimeValue timeout()
indices
public String[] indices()
indices
public IndicesReplicationOperationRequest indices(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()
consistencyLevel
public WriteConsistencyLevel consistencyLevel()
routing
public String routing()
readFrom
public void readFrom(StreamInput in)
throws IOException
- Specified by:
readFrom
in interface Streamable
- Throws:
IOException
writeTo
public void writeTo(StreamOutput out)
throws IOException
- Specified by:
writeTo
in interface Streamable
- Throws:
IOException
Copyright © 2009-2012. All Rights Reserved.