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 boolean
equals(Object t)
String
getAddress()
Get addrees of this EE.DataClayInstanceID
getDataClayInstanceID()
Get the ExecutionEnvironment::dataClayInstanceIDString
getHostname()
Get the ExecutionEnvironment::hostnameCommonMessages.Langs
getLang()
Set the ExecutionEnvironment::storageTCPPortString
getName()
Get the ExecutionEnvironment::nameint
getPort()
Get the ExecutionEnvironment::storageTCPPortint
hashCode()
void
setDataClayInstanceID(DataClayInstanceID newdataClayInstanceID)
Set the ExecutionEnvironment::dataClayInstanceIDvoid
setHostname(String newhostname)
Set the ExecutionEnvironment::hostnamevoid
setLang(CommonMessages.Langs newlang)
Set the ExecutionEnvironment::langvoid
setName(String newname)
Set the ExecutionEnvironment::namevoid
setPort(int newport)
Set the ExecutionEnvironment::portString
toString()
-
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:
getHostname
in interfaceBackend
- Returns:
- the hostname
-
setHostname
public void setHostname(String newhostname)
Set the ExecutionEnvironment::hostname- Specified by:
setHostname
in 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.
-
-