public class NodesShutdownRequest extends MasterNodeOperationRequest<NodesShutdownRequest>
TransportRequest.EmptyDEFAULT_MASTER_NODE_TIMEOUT, masterNodeTimeoutheaders| Constructor and Description |
|---|
NodesShutdownRequest(String... nodesIds) |
| Modifier and Type | Method and Description |
|---|---|
TimeValue |
delay() |
NodesShutdownRequest |
delay(String delay)
The delay for the shutdown to occur.
|
NodesShutdownRequest |
delay(TimeValue delay)
The delay for the shutdown to occur.
|
boolean |
exit()
Should the JVM be exited as well or not.
|
NodesShutdownRequest |
exit(boolean exit)
Should the JVM be exited as well or not.
|
NodesShutdownRequest |
nodesIds(String... nodesIds) |
void |
readFrom(StreamInput in) |
ActionRequestValidationException |
validate() |
void |
writeTo(StreamOutput out) |
masterNodeTimeout, masterNodeTimeout, masterNodeTimeoutlistenerThreaded, listenerThreadedputHeader, remoteAddress, remoteAddresscontextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putInContextpublic NodesShutdownRequest(String... nodesIds)
public NodesShutdownRequest nodesIds(String... nodesIds)
public NodesShutdownRequest delay(TimeValue delay)
public TimeValue delay()
public NodesShutdownRequest delay(String delay)
public NodesShutdownRequest exit(boolean exit)
public boolean exit()
public ActionRequestValidationException validate()
validate in class ActionRequest<NodesShutdownRequest>public void readFrom(StreamInput in) throws IOException
readFrom in interface StreamablereadFrom in class MasterNodeOperationRequest<NodesShutdownRequest>IOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo in interface StreamablewriteTo in class MasterNodeOperationRequest<NodesShutdownRequest>IOExceptionCopyright © 2009–2016. All rights reserved.