IndicesRequest
, Streamable
, Writeable
, TaskAwareRequest
public class ShardFlushRequest extends ReplicationRequest<ShardFlushRequest>
IndicesRequest.Replaceable
TransportRequest.Empty
Writeable.Reader<V>, Writeable.Writer<V>
DEFAULT_TIMEOUT, index, shardId, timeout, waitForActiveShards
Constructor | Description |
---|---|
ShardFlushRequest() |
|
ShardFlushRequest(FlushRequest request,
ShardId shardId) |
Modifier and Type | Method | Description |
---|---|---|
void |
readFrom(StreamInput in) |
Set this object's fields from a StreamInput.
|
java.lang.String |
toString() |
|
void |
writeTo(StreamOutput out) |
Write this object's fields to a StreamOutput.
|
getShouldStoreResult
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
createTask, getDescription, index, index, indices, indicesOptions, onRetry, setShardId, shardId, timeout, timeout, timeout, validate, waitForActiveShards, waitForActiveShards, waitForActiveShards
setParentTask
remoteAddress, remoteAddress
getParentTask, setParentTask
public ShardFlushRequest(FlushRequest request, ShardId shardId)
public ShardFlushRequest()
public void readFrom(StreamInput in) throws java.io.IOException
Streamable
readFrom
in interface Streamable
readFrom
in class ReplicationRequest<ShardFlushRequest>
java.io.IOException
public void writeTo(StreamOutput out) throws java.io.IOException
Streamable
writeTo
in interface Streamable
writeTo
in interface Writeable
writeTo
in class ReplicationRequest<ShardFlushRequest>
java.io.IOException
public java.lang.String toString()
toString
in class ReplicationRequest<ShardFlushRequest>