appl.parallel.server
Class XuluServerProperties

java.lang.Object
  extended by appl.parallel.SimpleResourceProperties
      extended by appl.parallel.server.XuluServerProperties
All Implemented Interfaces:
ComputingResourceProperties, Serializable

public class XuluServerProperties
extends SimpleResourceProperties
implements Serializable

Constructs information out of a XuluServer Object. Unfortunately there is no way to measure CPU load (for this you would need to have access to the OS core). This could be done with the use of the JNI, but that is low level programming and would be OS dependent. Must be invoked on server side (which should be clear, anyway!).
Sets the following properties:

Name
isAvailable
Uptime

and of course the Properties the superclass sets

Author:
Dominik Appl
See Also:
Serialized Form

Field Summary
 
Fields inherited from class appl.parallel.SimpleResourceProperties
properties
 
Constructor Summary
XuluServerProperties(XuluServer server, String name)
           
 
Method Summary
 
Methods inherited from class appl.parallel.SimpleResourceProperties
getFormatedMemoryString, getIP, getName, getPort, getProperties, getProperty, getUsedMemory, isAvailable, setProperty, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XuluServerProperties

public XuluServerProperties(XuluServer server,
                            String name)