public class BinaryNodeStateProtocol.BinaryNodeStateResponse extends BinaryProtocol.SimpleMessage
| Constructor and Description |
|---|
BinaryNodeStateResponse(ByteBuffer buffer) |
BinaryNodeStateResponse(String nodeName,
String groupName,
String masterName,
JEVersion jeVersion,
long joinTime,
ReplicatedEnvironment.State nodeState,
long commitVLSN,
long masterCommitVLSN,
int activeFeeders,
int logVersion,
byte[] appState,
double systemLoad) |
| Modifier and Type | Method and Description |
|---|---|
NodeState |
convertToNodeState() |
int |
getActiveFeeders() |
byte[] |
getAppState() |
long |
getCommitVLSN() |
String |
getGroupName() |
JEVersion |
getJEVersion() |
long |
getJoinTime() |
long |
getKnownMasterCommitVLSN() |
int |
getLogVersion() |
String |
getMasterName() |
String |
getNodeName() |
ReplicatedEnvironment.State |
getNodeState() |
BinaryProtocol.MessageOp |
getOp() |
double |
getSystemLoad() |
ByteBuffer |
wireFormat()
The default message consists of the operation enum and just a 0
length size.
|
getBoolean, getByteArray, getDouble, getEnum, getNameIdPair, getStringArray, getVLSN, putByteArray, putWireFormat, wireFormat, wireFormatSizeallocateInitializedBuffer, match, toStringpublic BinaryNodeStateResponse(String nodeName, String groupName, String masterName, JEVersion jeVersion, long joinTime, ReplicatedEnvironment.State nodeState, long commitVLSN, long masterCommitVLSN, int activeFeeders, int logVersion, byte[] appState, double systemLoad)
public BinaryNodeStateResponse(ByteBuffer buffer)
public String getNodeName()
public String getGroupName()
public String getMasterName()
public JEVersion getJEVersion()
public long getJoinTime()
public ReplicatedEnvironment.State getNodeState()
public long getCommitVLSN()
public long getKnownMasterCommitVLSN()
public int getActiveFeeders()
public int getLogVersion()
public byte[] getAppState()
public double getSystemLoad()
public BinaryProtocol.MessageOp getOp()
getOp in class BinaryProtocol.Messagepublic ByteBuffer wireFormat()
BinaryProtocol.MessagewireFormat in class BinaryProtocol.Messagepublic NodeState convertToNodeState()
Copyright © 2024. All rights reserved.