public final class LivenessResponse extends ActionResponse
TransportResponse.Empty
headers
Constructor and Description |
---|
LivenessResponse() |
LivenessResponse(ClusterName clusterName,
DiscoveryNode node) |
Modifier and Type | Method and Description |
---|---|
ClusterName |
getClusterName() |
DiscoveryNode |
getDiscoveryNode() |
void |
readFrom(StreamInput in) |
void |
writeTo(StreamOutput out) |
remoteAddress, remoteAddress
contextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putHeader, putInContext
public LivenessResponse()
public LivenessResponse(ClusterName clusterName, DiscoveryNode node)
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
public ClusterName getClusterName()
public DiscoveryNode getDiscoveryNode()
Copyright © 2009–2016. All rights reserved.