com.sleepycat.je.rep.impl
Class BinaryNodeStateProtocol.BinaryNodeStateResponse

java.lang.Object
  extended by com.sleepycat.je.rep.utilint.BinaryProtocol.Message
      extended by com.sleepycat.je.rep.utilint.BinaryProtocol.SimpleMessage
          extended by 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)
           
 
Method Summary
 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.
 
Methods inherited from class com.sleepycat.je.rep.utilint.BinaryProtocol.SimpleMessage
getBoolean, getByteArray, getDouble, getEnum, getNameIdPair, getRepNodeImplArray, getStringArray, getVLSN, wireFormat
 
Methods inherited from class com.sleepycat.je.rep.utilint.BinaryProtocol.Message
allocateInitializedBuffer, match, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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)
Method Detail

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.