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, getDescription
remoteAddress, remoteAddress
contextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putHeader, putInContext
public 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 Streamable
readFrom
in class ActionRequest<T extends BaseNodesRequest>
IOException
public void writeTo(StreamOutput out) throws IOException
writeTo
in interface Streamable
writeTo
in class ActionRequest<T extends BaseNodesRequest>
IOException
Copyright © 2009–2016. All rights reserved.