public static class ZenPing.PingResponse extends Object implements Streamable
| 修飾子とタイプ | フィールドと説明 |
|---|---|
static ZenPing.PingResponse[] |
EMPTY |
| コンストラクタと説明 |
|---|
PingResponse(DiscoveryNode node,
DiscoveryNode master,
ClusterName clusterName,
boolean hasJoinedOnce) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
ClusterName |
clusterName() |
boolean |
hasJoinedOnce()
true if the joined has successfully joined the cluster before
|
long |
id()
an always increasing unique identifier for this ping response.
|
DiscoveryNode |
master()
the current master of the node
|
DiscoveryNode |
node()
the node which this ping describes
|
void |
readFrom(StreamInput in) |
static ZenPing.PingResponse |
readPingResponse(StreamInput in) |
String |
toString() |
void |
writeTo(StreamOutput out) |
public static final ZenPing.PingResponse[] EMPTY
public PingResponse(DiscoveryNode node, DiscoveryNode master, ClusterName clusterName, boolean hasJoinedOnce)
node - the node which this ping describesmaster - the current master of the nodeclusterName - the cluster name of the nodehasJoinedOnce - true if the joined has successfully joined the cluster beforepublic long id()
public ClusterName clusterName()
public DiscoveryNode node()
public DiscoveryNode master()
public boolean hasJoinedOnce()
public static ZenPing.PingResponse readPingResponse(StreamInput in) throws IOException
IOExceptionpublic void readFrom(StreamInput in) throws IOException
readFrom インタフェース内 StreamableIOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo インタフェース内 StreamableIOExceptionCopyright © 2009–2016. All rights reserved.