Package org.teamapps.universaldb.cluster
Class ClusterConfig
java.lang.Object
org.teamapps.universaldb.cluster.ClusterConfig
public class ClusterConfig
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description ClusterConfig(java.lang.String clusterSecret, java.util.List<ClusterNodeConfig> clusterNodes, int localNodeId) -
Method Summary
Modifier and Type Method Description ClusterConfigcopy(int localNodeId)java.util.List<ClusterNodeConfig>getClusterNodes()java.lang.StringgetClusterSecret()ClusterNodeConfiggetLocalNode()intgetLocalNodeId()java.util.List<ClusterNodeConfig>getRemoteNodes()
-
Constructor Details
-
ClusterConfig
public ClusterConfig(java.lang.String clusterSecret, java.util.List<ClusterNodeConfig> clusterNodes, int localNodeId)
-
-
Method Details
-
copy
-
getClusterNodes
-
getRemoteNodes
-
getLocalNode
-
getClusterSecret
public java.lang.String getClusterSecret() -
getLocalNodeId
public int getLocalNodeId()
-