Package org.gcube.portal.databook.server
Class RunningCluster
- java.lang.Object
-
- org.gcube.portal.databook.server.RunningCluster
-
- All Implemented Interfaces:
Serializable
public class RunningCluster extends Object implements Serializable
- Version:
- 2.0.0 October 2023
- Author:
- Massimiliano Assante ISTI-CNR, Ahmed Salah Tawfik Ibrahim ISTI-CNR
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDatacenterName()StringgetHost()List<InetSocketAddress>getHosts()static RunningClustergetInstance(String infrastructureName)StringgetKeyspaceName()voidsetDatacenterName(String datacenterName)voidsetHost(String host)voidsetKeyspaceName(String keyspaceName)StringtoString()
-
-
-
Method Detail
-
getInstance
public static RunningCluster getInstance(String infrastructureName)
- Parameters:
infrastructureName- could be null- Returns:
- an instance of the RunningCluster
-
getHost
public String getHost()
-
setHost
public void setHost(String host)
-
getKeyspaceName
public String getKeyspaceName()
-
setKeyspaceName
public void setKeyspaceName(String keyspaceName)
-
setDatacenterName
public void setDatacenterName(String datacenterName)
-
getDatacenterName
public String getDatacenterName()
-
getHosts
public List<InetSocketAddress> getHosts()
-
-