Class ExecutionEnvironment
- java.lang.Object
-
- es.bsc.dataclay.util.MgrObject<ExecutionEnvironmentID>
-
- es.bsc.dataclay.util.management.metadataservice.ExecutionEnvironment
-
- All Implemented Interfaces:
Backend
public final class ExecutionEnvironment extends MgrObject<ExecutionEnvironmentID> implements Backend
This class represents the information of a ExecutionEnvironment.
-
-
Constructor Summary
Constructors Constructor Description ExecutionEnvironment()Empty constructor of the ExecutionEnvironmentExecutionEnvironment(String newhostname, String newname, int newtcpport, CommonMessages.Langs newlang, DataClayInstanceID dataClayInstanceID)ExecutionEnvironment specification constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object t)StringgetAddress()Get addrees of this EE.DataClayInstanceIDgetDataClayInstanceID()Get the ExecutionEnvironment::dataClayInstanceIDStringgetHostname()Get the ExecutionEnvironment::hostnameCommonMessages.LangsgetLang()Set the ExecutionEnvironment::storageTCPPortStringgetName()Get the ExecutionEnvironment::nameintgetPort()Get the ExecutionEnvironment::storageTCPPortinthashCode()voidsetDataClayInstanceID(DataClayInstanceID newdataClayInstanceID)Set the ExecutionEnvironment::dataClayInstanceIDvoidsetHostname(String newhostname)Set the ExecutionEnvironment::hostnamevoidsetLang(CommonMessages.Langs newlang)Set the ExecutionEnvironment::langvoidsetName(String newname)Set the ExecutionEnvironment::namevoidsetPort(int newport)Set the ExecutionEnvironment::portStringtoString()-
Methods inherited from class es.bsc.dataclay.util.MgrObject
getDataClayID, setDataClayID
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface es.bsc.dataclay.api.Backend
getDataClayID
-
-
-
-
Constructor Detail
-
ExecutionEnvironment
public ExecutionEnvironment()
Empty constructor of the ExecutionEnvironment
-
ExecutionEnvironment
public ExecutionEnvironment(String newhostname, String newname, int newtcpport, CommonMessages.Langs newlang, DataClayInstanceID dataClayInstanceID)
ExecutionEnvironment specification constructor- Parameters:
newhostname- Host name of the Execution Environmentnewname- Name of the Execution Environmentnewtcpport- TCP Port of the Execution Environmentnewlang- Language for this Execution EnvironmentdataClayInstanceID- ID of dataClay instance of this exec env
-
-
Method Detail
-
getHostname
public String getHostname()
Get the ExecutionEnvironment::hostname- Specified by:
getHostnamein interfaceBackend- Returns:
- the hostname
-
setHostname
public void setHostname(String newhostname)
Set the ExecutionEnvironment::hostname- Specified by:
setHostnamein interfaceBackend- Parameters:
newhostname- the hostname to set
-
getName
public String getName()
Get the ExecutionEnvironment::name
-
setName
public void setName(String newname)
Set the ExecutionEnvironment::name
-
getPort
public int getPort()
Get the ExecutionEnvironment::storageTCPPort
-
setPort
public void setPort(int newport)
Set the ExecutionEnvironment::port
-
getLang
public CommonMessages.Langs getLang()
Set the ExecutionEnvironment::storageTCPPort
-
setLang
public void setLang(CommonMessages.Langs newlang)
Set the ExecutionEnvironment::lang
-
getDataClayInstanceID
public DataClayInstanceID getDataClayInstanceID()
Get the ExecutionEnvironment::dataClayInstanceID- Returns:
- the dataClayInstanceID
-
setDataClayInstanceID
public void setDataClayInstanceID(DataClayInstanceID newdataClayInstanceID)
Set the ExecutionEnvironment::dataClayInstanceID- Parameters:
newdataClayInstanceID- the dataClayInstanceID to set
-
getAddress
public String getAddress()
Get addrees of this EE.- Returns:
- Address.
-
-