IndicesRequest
, IndicesRequest.Replaceable
, Streamable
, Writeable
, TaskAwareRequest
public class RecoveryRequest extends BroadcastRequest<RecoveryRequest>
IndicesRequest.Replaceable
TransportRequest.Empty
Writeable.Reader<V>, Writeable.Writer<V>
indices
Constructor | Description |
---|---|
RecoveryRequest() |
Constructs a request for recovery information for all shards
|
RecoveryRequest(java.lang.String... indices) |
Constructs a request for recovery information for all shards for the given indices
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
activeOnly() |
True if activeOnly flag is set, false otherwise.
|
void |
activeOnly(boolean activeOnly) |
Set value of the activeOnly flag.
|
boolean |
detailed() |
True if detailed flag is set, false otherwise.
|
void |
detailed(boolean detailed) |
Set value of the detailed flag.
|
void |
readFrom(StreamInput in) |
Set this object's fields from a StreamInput.
|
void |
writeTo(StreamOutput out) |
Write this object's fields to a StreamOutput.
|
getShouldStoreResult
indices, indices, indicesOptions, indicesOptions, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
newWriteableReader
createTask, getDescription, setParentTask
remoteAddress, remoteAddress
getParentTask, setParentTask
public RecoveryRequest()
public RecoveryRequest(java.lang.String... indices)
indices
- Comma-separated list of indices about which to gather recovery informationpublic boolean detailed()
public void detailed(boolean detailed)
detailed
- Whether or not to set the detailed flagpublic boolean activeOnly()
public void activeOnly(boolean activeOnly)
activeOnly
- Whether or not to set the activeOnly flag.public void writeTo(StreamOutput out) throws java.io.IOException
Streamable
writeTo
in interface Streamable
writeTo
in interface Writeable
writeTo
in class BroadcastRequest<RecoveryRequest>
java.io.IOException
public void readFrom(StreamInput in) throws java.io.IOException
Streamable
readFrom
in interface Streamable
readFrom
in class BroadcastRequest<RecoveryRequest>
java.io.IOException