|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jppf.management.JPPFSystemInformation
public class JPPFSystemInformation
This class encapsulates the system information for a node.
It includes:
| Nested Class Summary | |
|---|---|
static class |
JPPFSystemInformation.HostIP
Instances of this class represent a hostname / ip address pair. |
| Constructor Summary | |
|---|---|
JPPFSystemInformation(String uuid)
Initialize this system information object with the specified uuid. |
|
| Method Summary | |
|---|---|
TypedProperties |
getEnv()
Get the map holding the environment variables. |
TypedProperties |
getJppf()
Get the map holding the JPPF configuration properties. |
TypedProperties |
getNetwork()
Get the map of the network configuration. |
TypedProperties[] |
getPropertiesArray()
Get all the proeprties as an array. |
TypedProperties |
getRuntime()
Get the map holding the runtime information. |
TypedProperties |
getStorage()
Get the map holding the host storage information. |
TypedProperties |
getSystem()
Get the map holding the system properties. |
TypedProperties |
getUuid()
Get the properties object holding the uuid. |
void |
populate()
Populate this node information object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JPPFSystemInformation(String uuid)
uuid - the uuid of the corresponding JPPF component.| Method Detail |
|---|
public TypedProperties getSystem()
TypedProperties instance.SystemUtils.getSystemProperties()public TypedProperties getRuntime()
The resulting map will contain the following properties:
Some or all of these properties may be missing if a security manager is installed
that does not grant access to the related Runtime APIs.
TypedProperties instance.SystemUtils.getRuntimeInformation()public TypedProperties getEnv()
TypedProperties instance.SystemUtils.getEnvironment()public TypedProperties getNetwork()
The resulting map will contain the following properties:
Each property is a space-separated list of hostname|ip_address pairs, the hostname and ip address being separated by a pipe symbol "|".
TypedProperties instance.SystemUtils.getNetwork()public TypedProperties getJppf()
TypedProperties instance.JPPFConfigurationpublic TypedProperties getStorage()
The map will contain the following information:
TypedProperties instance.SystemUtils.getStorageInformation()public void populate()
public TypedProperties getUuid()
TypedProperties wrapper for the uuid of the corresponding JPPF component.public TypedProperties[] getPropertiesArray()
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||