Class ClusterNodeConfig

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

public class ClusterNodeConfig
extends java.lang.Object
  • Constructor Summary

    Constructors
    Constructor Description
    ClusterNodeConfig​(int nodeId, java.lang.String address, int port, ClusterNodeRole preferredNodeType)  
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getAddress()  
    int getNodeId()  
    int getPort()  
    ClusterNodeRole getPreferredNodeType()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ClusterNodeConfig

      public ClusterNodeConfig​(int nodeId, java.lang.String address, int port, ClusterNodeRole preferredNodeType)
  • Method Details

    • getNodeId

      public int getNodeId()
    • getAddress

      public java.lang.String getAddress()
    • getPort

      public int getPort()
    • getPreferredNodeType

      public ClusterNodeRole getPreferredNodeType()