appl.parallel
Interface ComputingResourceProperties
- All Superinterfaces:
- Serializable
- All Known Implementing Classes:
- SimpleResourceProperties, XuluServerProperties
public interface ComputingResourceProperties
- extends Serializable
Information about a ComputingResource
. All entries may return
null
if no information is available. Notice that the
information represents the state of the remote Object at the time it was
created. So it may be outdated. The following Properties should be available
on all systems
- ActiveModel
- isAvailable - says if the resource is currently available for use
- SystemInformation - Identifies the current System/OS
- Name - a name which will be displayed to the user
- IP - the IP address of the Object
- Author:
- Dominik Appl
getProperties
Properties getProperties()
setProperty
void setProperty(String key,
String value)
- Sets a property
- Parameters:
key
- the keyvalue
- the value
getProperty
String getProperty(String key)
- Parameters:
key
- the key
- Returns:
- the property property associated with that key or null if not found
getName
String getName()
- Returns:
- the name of the resource (usually the hostname)
isAvailable
boolean isAvailable()
- Returns:
- says if the resource is available for computation (of in use).
getIP
String getIP()
- Returns:
- the ip of the resource
getPort
String getPort()
- Returns:
- port the resouce is bound to