|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sleepycat.je.rep.NodeState
public class NodeState
The current state of a replication node and the application this node is running in.
This includes the following information:
state
of this
nodeAppStateMonitor
.
Users are responsible for serializing and deserializing information for this
field.
Constructor Summary | |
---|---|
NodeState(String nodeName,
String groupName,
ReplicatedEnvironment.State currentState,
String masterName,
JEVersion jeVersion,
long joinTime,
long currentTxnEndVLSN,
long masterTxnEndVLSN,
int activeFeeders,
int logVersion,
byte[] appState,
double systemLoad)
|
Method Summary | |
---|---|
int |
getActiveFeeders()
Returns the number of current active Feeders running on this node. |
byte[] |
getAppState()
Returns the application state which is obtained via AppStateMonitor.getAppState() . |
long |
getCurrentTxnEndVLSN()
Returns the latest transaction end VLSN on this replication node. |
String |
getGroupName()
Returns the name of the group which the node joins. |
JEVersion |
getJEVersion()
Returns the current JEVersion that this node runs on. |
long |
getJoinTime()
Returns the time when this node joins the replication group. |
long |
getKnownMasterTxnEndVLSN()
Returns the transaction end VLSN on the master known by this node. |
int |
getLogVersion()
Returns the log version of this node. |
String |
getMasterName()
Returns the name of the current master known by this node. |
String |
getNodeName()
Returns the name of the node whose state is requested. |
ReplicatedEnvironment.State |
getNodeState()
Returns the replication state of
this node. |
double |
getSystemLoad()
Returns the system load average for the last minute. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public NodeState(String nodeName, String groupName, ReplicatedEnvironment.State currentState, String masterName, JEVersion jeVersion, long joinTime, long currentTxnEndVLSN, long masterTxnEndVLSN, int activeFeeders, int logVersion, byte[] appState, double systemLoad)
Method Detail |
---|
public String getNodeName()
public String getGroupName()
public ReplicatedEnvironment.State getNodeState()
state
of
this node.
public String getMasterName()
master
known by this node.
public JEVersion getJEVersion()
public long getJoinTime()
public long getCurrentTxnEndVLSN()
public long getKnownMasterTxnEndVLSN()
public int getActiveFeeders()
public int getLogVersion()
public byte[] getAppState()
AppStateMonitor.getAppState()
.
public double getSystemLoad()
public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |