com.sleepycat.je.rep.impl
Class BinaryNodeStateProtocol.BinaryNodeStateResponse
java.lang.Object
com.sleepycat.je.rep.utilint.BinaryProtocol.Message
com.sleepycat.je.rep.utilint.BinaryProtocol.SimpleMessage
com.sleepycat.je.rep.impl.BinaryNodeStateProtocol.BinaryNodeStateResponse
- All Implemented Interfaces:
- BinaryProtocol.WireFormatable
- Enclosing class:
- BinaryNodeStateProtocol
public class BinaryNodeStateProtocol.BinaryNodeStateResponse
- extends BinaryProtocol.SimpleMessage
Constructor Summary |
BinaryNodeStateProtocol.BinaryNodeStateResponse(ByteBuffer buffer)
|
BinaryNodeStateProtocol.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)
|
BinaryNodeStateProtocol.BinaryNodeStateResponse
public BinaryNodeStateProtocol.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)
BinaryNodeStateProtocol.BinaryNodeStateResponse
public BinaryNodeStateProtocol.BinaryNodeStateResponse(ByteBuffer buffer)
getNodeName
public String getNodeName()
getGroupName
public String getGroupName()
getMasterName
public String getMasterName()
getJEVersion
public JEVersion getJEVersion()
getJoinTime
public long getJoinTime()
getNodeState
public ReplicatedEnvironment.State getNodeState()
getCommitVLSN
public long getCommitVLSN()
getKnownMasterCommitVLSN
public long getKnownMasterCommitVLSN()
getActiveFeeders
public int getActiveFeeders()
getLogVersion
public int getLogVersion()
getAppState
public byte[] getAppState()
getSystemLoad
public double getSystemLoad()
getOp
public BinaryProtocol.MessageOp getOp()
- Specified by:
getOp
in class BinaryProtocol.Message
wireFormat
public ByteBuffer wireFormat()
- Description copied from class:
BinaryProtocol.Message
- The default message consists of the operation enum and just a 0
length size.
- Specified by:
wireFormat
in interface BinaryProtocol.WireFormatable
- Overrides:
wireFormat
in class BinaryProtocol.Message
convertToNodeState
public NodeState convertToNodeState()
Copyright (c) 2004-2012 Oracle. All rights reserved.