Class ClusterConfig

java.lang.Object
org.teamapps.universaldb.cluster.ClusterConfig

public class ClusterConfig
extends java.lang.Object
  • Constructor Details

    • ClusterConfig

      public ClusterConfig​(java.lang.String clusterSecret, java.util.List<ClusterNodeConfig> clusterNodes, int localNodeId)
  • Method Details

    • copy

      public ClusterConfig copy​(int localNodeId)
    • getClusterNodes

      public java.util.List<ClusterNodeConfig> getClusterNodes()
    • getRemoteNodes

      public java.util.List<ClusterNodeConfig> getRemoteNodes()
    • getLocalNode

      public ClusterNodeConfig getLocalNode()
    • getClusterSecret

      public java.lang.String getClusterSecret()
    • getLocalNodeId

      public int getLocalNodeId()