Class DataClayInstance
- java.lang.Object
-
- es.bsc.dataclay.util.management.metadataservice.DataClayInstance
-
public class DataClayInstance extends Object
-
-
Constructor Summary
Constructors Constructor Description DataClayInstance()
Empty constructor of the DataClayInstanceDataClayInstance(DataClayInstanceID newdcID, String[] newhosts, Integer[] newports)
Basic constructor for dataClay instances.DataClayInstance(DataClayInstanceID newdcID, String newhost, Integer newport)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataClayInstanceID
getDcID()
List<String>
getHosts()
List<Integer>
getPorts()
void
setDcID(DataClayInstanceID newdcID)
void
setHosts(List<String> hosts)
void
setPorts(List<Integer> ports)
String
toString()
-
-
-
Constructor Detail
-
DataClayInstance
public DataClayInstance()
Empty constructor of the DataClayInstance
-
DataClayInstance
public DataClayInstance(DataClayInstanceID newdcID, String newhost, Integer newport)
-
DataClayInstance
public DataClayInstance(DataClayInstanceID newdcID, String[] newhosts, Integer[] newports)
Basic constructor for dataClay instances. For each host must be a port.- Parameters:
newdcID
- id of the dataClay instancenewhosts
- hosts of the main service of the dataClay instancenewports
- ports of the main service of the dataClay instance
-
-
Method Detail
-
getDcID
public DataClayInstanceID getDcID()
-
setDcID
public void setDcID(DataClayInstanceID newdcID)
-
-