public class BinaryNodeStateProtocol.BinaryNodeStateResponse extends BinaryProtocol.SimpleMessage
Constructor and Description |
---|
BinaryNodeStateProtocol.BinaryNodeStateResponse(java.nio.ByteBuffer buffer) |
BinaryNodeStateProtocol.BinaryNodeStateResponse(java.lang.String nodeName,
java.lang.String groupName,
java.lang.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() |
java.lang.String |
getGroupName() |
JEVersion |
getJEVersion() |
long |
getJoinTime() |
long |
getKnownMasterCommitVLSN() |
int |
getLogVersion() |
java.lang.String |
getMasterName() |
java.lang.String |
getNodeName() |
ReplicatedEnvironment.State |
getNodeState() |
BinaryProtocol.MessageOp |
getOp() |
double |
getSystemLoad() |
java.nio.ByteBuffer |
wireFormat()
The default message consists of the operation enum and just a 0
length size.
|
getBoolean, getByteArray, getDouble, getEnum, getNameIdPair, getRepNodeImplArray, getStringArray, getVLSN, wireFormat
allocateInitializedBuffer, match, toString
public BinaryNodeStateProtocol.BinaryNodeStateResponse(java.lang.String nodeName, java.lang.String groupName, java.lang.String masterName, JEVersion jeVersion, long joinTime, ReplicatedEnvironment.State nodeState, long commitVLSN, long masterCommitVLSN, int activeFeeders, int logVersion, byte[] appState, double systemLoad)
public BinaryNodeStateProtocol.BinaryNodeStateResponse(java.nio.ByteBuffer buffer)
public java.lang.String getNodeName()
public java.lang.String getGroupName()
public java.lang.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.Message
public java.nio.ByteBuffer wireFormat()
BinaryProtocol.Message
wireFormat
in interface BinaryProtocol.WireFormatable
wireFormat
in class BinaryProtocol.Message
public NodeState convertToNodeState()
Copyright (c) 2004-2012 Oracle. All rights reserved.