public abstract class BaseNodesRequest<T extends BaseNodesRequest> extends ActionRequest<T>
TransportRequest.Empty| Modifier and Type | Field and Description |
|---|---|
static String[] |
ALL_NODES |
headers| Modifier | Constructor and Description |
|---|---|
protected |
BaseNodesRequest() |
protected |
BaseNodesRequest(ActionRequest request,
String... nodesIds) |
protected |
BaseNodesRequest(String... nodesIds) |
| Modifier and Type | Method and Description |
|---|---|
String[] |
nodesIds() |
T |
nodesIds(String... nodesIds) |
void |
readFrom(StreamInput in) |
TimeValue |
timeout() |
T |
timeout(String timeout) |
T |
timeout(TimeValue timeout) |
ActionRequestValidationException |
validate() |
void |
writeTo(StreamOutput out) |
createTask, getDescriptionremoteAddress, remoteAddresscontextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putHeader, putInContextpublic static String[] ALL_NODES
protected BaseNodesRequest()
protected BaseNodesRequest(ActionRequest request, String... nodesIds)
protected BaseNodesRequest(String... nodesIds)
public final String[] nodesIds()
public TimeValue timeout()
public ActionRequestValidationException validate()
validate in class ActionRequest<T extends BaseNodesRequest>public void readFrom(StreamInput in) throws IOException
readFrom in interface StreamablereadFrom in class ActionRequest<T extends BaseNodesRequest>IOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo in interface StreamablewriteTo in class ActionRequest<T extends BaseNodesRequest>IOExceptionCopyright © 2009–2017. All rights reserved.