public class NodeState extends Object
This includes the following information:
state
of this
nodeAppStateMonitor
.
Users are responsible for serializing and deserializing information for this
field.Constructor and Description |
---|
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) |
Modifier and Type | Method and Description |
---|---|
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() |
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)
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()
Copyright (c) 2002, 2015 Oracle and/or its affiliates. All rights reserved.