public class TopologyNode extends AbstractTopologyComponent
TopologyDriver for JPPF nodes.healthSnapshot, managementInfochildren, parent, uuid| Modifier and Type | Method and Description |
|---|---|
String |
getDisplayName()
Get a user-friendly representation of this topology component.
|
TopologyDriver |
getDriver()
Convenience method to get the driver this node is attached to as a
TopologyDriver instance. |
String |
getMasterUuid()
Get the uuid of the node who this node is a slave of.
|
int |
getNbSlaveNodes()
Get the number of slaves for a master node.
|
org.jppf.management.JPPFNodeState |
getNodeState()
Get the object describing the current state of a node.
|
org.jppf.management.NodePendingAction |
getPendingAction()
Get the currently pending action forthis node, if any.
|
boolean |
isNode()
This method always returns
true. |
String |
toString() |
getHealthSnapshot, getManagementInfo, isDriver, isPeerequals, getChild, getChildCount, getChildren, getParent, getUuid, hashCodepublic boolean isNode()
true.isNode in class AbstractTopologyComponenttrue.public org.jppf.management.JPPFNodeState getNodeState()
JPPFNodeState instance.public int getNbSlaveNodes()
public String getMasterUuid()
null if this node is not a slave.public String toString()
toString in class AbstractTopologyComponentpublic org.jppf.management.NodePendingAction getPendingAction()
NodePendingAction enum element.public TopologyDriver getDriver()
TopologyDriver instance.TopologyDriver if this node is a real node, or null if this is a peer server.public String getDisplayName()
AbstractComponentgetDisplayName in class AbstractComponent<AbstractTopologyComponent>Copyright © 2005-2019 JPPF Team.