public final class LivenessResponse extends ActionResponse
TransportResponse.Emptyheaders| 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, remoteAddresscontextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putHeader, putInContextpublic LivenessResponse()
public LivenessResponse(ClusterName clusterName, DiscoveryNode node)
public void readFrom(StreamInput in) throws IOException
readFrom in interface StreamablereadFrom in class ActionResponseIOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo in interface StreamablewriteTo in class ActionResponseIOExceptionpublic ClusterName getClusterName()
public DiscoveryNode getDiscoveryNode()
Copyright © 2009–2017. All rights reserved.