public class NodesShutdownResponse extends ActionResponse
TransportResponse.Empty
Constructor and Description |
---|
NodesShutdownResponse(ClusterName clusterName,
DiscoveryNode[] nodes) |
Modifier and Type | Method and Description |
---|---|
ClusterName |
getClusterName() |
DiscoveryNode[] |
getNodes() |
void |
readFrom(StreamInput in) |
void |
writeTo(StreamOutput out) |
getHeader, getHeaders, hasHeader, putHeader, remoteAddress, remoteAddress
contextSize, copyContextFrom, getContext, getFromContext, getFromContext, hasInContext, isContextEmpty, putAllInContext, putInContext
public NodesShutdownResponse(ClusterName clusterName, DiscoveryNode[] nodes)
public ClusterName getClusterName()
public DiscoveryNode[] getNodes()
public void readFrom(StreamInput in) throws IOException
readFrom
in interface Streamable
readFrom
in class ActionResponse
IOException
public void writeTo(StreamOutput out) throws IOException
writeTo
in interface Streamable
writeTo
in class ActionResponse
IOException
Copyright © 2009–2015. All rights reserved.