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


Author:
Dominik Appl

Method Summary
 String getIP()
           
 String getName()
           
 String getPort()
           
 Properties getProperties()
           
 String getProperty(String key)
           
 boolean isAvailable()
           
 void setProperty(String key, String value)
          Sets a property
 

Method Detail

getProperties

Properties getProperties()

setProperty

void setProperty(String key,
                 String value)
Sets a property

Parameters:
key - the key
value - 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