|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jppf.server.NodeInformationHandler
public class NodeInformationHandler
Instances of this class manage information on the nodes obtained via JMX.
| Constructor Summary | |
|---|---|
NodeInformationHandler()
|
|
| Method Summary | |
|---|---|
void |
addNodeInformation(ChannelWrapper<?> channel,
JPPFManagementInfo info)
Add a node information object to the map of node information. |
JPPFManagementInfo |
getNodeInformation(ChannelWrapper<?> channel)
Get the system information for the specified node. |
JPPFManagementInfo |
getNodeInformation(String uuid)
Get the system information for the specified node uuid. |
Map<ChannelWrapper<?>,JPPFManagementInfo> |
getNodeInformationMap()
Get the mapping of channels to corresponding node information. |
Set<String> |
getNodeUuids()
The uuids of all the currently connected nodes. |
Map<String,JPPFManagementInfo> |
getUuidMap()
Get the mapping of node uuid to corresponding node information. |
void |
removeNodeInformation(ChannelWrapper<?> channel)
Remove a node information object from the map of node information. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NodeInformationHandler()
| Method Detail |
|---|
public void addNodeInformation(ChannelWrapper<?> channel,
JPPFManagementInfo info)
channel - a SocketChannel instance.info - a JPPFNodeManagementInformation instance.public void removeNodeInformation(ChannelWrapper<?> channel)
channel - a SocketChannel instance.public Map<ChannelWrapper<?>,JPPFManagementInfo> getNodeInformationMap()
ChannelWrapper keys to JPPFManagementInfo values.public Map<String,JPPFManagementInfo> getUuidMap()
String keys to JPPFManagementInfo values.public JPPFManagementInfo getNodeInformation(ChannelWrapper<?> channel)
channel - the node for which to get the information.
JPPFManagementInfo instance, or null if no information is recorded for the node.public JPPFManagementInfo getNodeInformation(String uuid)
uuid - the uuid of the node for which to get the information.
JPPFManagementInfo instance, or null if no information is recorded for the node.public Set<String> getNodeUuids()
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||