org.globus.cog.karajan.util
Class BoundContact
java.lang.Object
org.globus.cog.karajan.util.Contact
org.globus.cog.karajan.util.BoundContact
- Direct Known Subclasses:
- BoundContact.Localhost
public class BoundContact
- extends Contact
LOCALHOST
public static final BoundContact LOCALHOST
BoundContact
public BoundContact()
BoundContact
public BoundContact(String host)
setHost
public void setHost(String host)
getHost
public String getHost()
addService
public void addService(Service sc)
removeService
public void removeService(int type,
String provider)
hasService
public boolean hasService(int type,
String provider)
hasService
public boolean hasService(TaskHandlerWrapper handler)
getService
public Service getService(int type,
String provider)
getService
public Service getService(TaskHandlerWrapper handler)
getServiceType
public static int getServiceType(int handlerType)
getServiceType
public static int getServiceType(String type)
getServices
public Map getServices()
getCpus
public int getCpus()
setCpus
public void setCpus(int cpus)
isVirtual
public boolean isVirtual()
- Specified by:
isVirtual
in class Contact
getActiveTasks
public int getActiveTasks()
setActiveTasks
public void setActiveTasks(int activeTasks)
toString
public String toString()
- Overrides:
toString
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Contact
hashCode
public int hashCode()
- Overrides:
hashCode
in class Contact
getProperties
public Map getProperties()
setProperties
public void setProperties(Map properties)
hasProperty
public boolean hasProperty(String name)
getProperty
public Object getProperty(String name)