public class RecoveryRequest extends BroadcastOperationRequest<RecoveryRequest>
TransportRequest.Empty
IndicesRequest.Replaceable
indices
Constructor and Description |
---|
RecoveryRequest()
Constructs a request for recovery information for all shards
|
RecoveryRequest(String... indices)
Constructs a request for recovery information for all shards for the given indices
|
Modifier and Type | Method and 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) |
void |
writeTo(StreamOutput out) |
beforeLocalFork, beforeStart, indices, indices, indicesOptions, indicesOptions, validate
listenerThreaded, listenerThreaded
getHeader, getHeaders, hasHeader, putHeader, remoteAddress, remoteAddress
contextSize, copyContextFrom, getContext, getFromContext, getFromContext, hasInContext, isContextEmpty, putAllInContext, putInContext
public RecoveryRequest()
public RecoveryRequest(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 IOException
writeTo
in interface Streamable
writeTo
in class BroadcastOperationRequest<RecoveryRequest>
IOException
public void readFrom(StreamInput in) throws IOException
readFrom
in interface Streamable
readFrom
in class BroadcastOperationRequest<RecoveryRequest>
IOException
Copyright © 2009–2015. All rights reserved.