Class NodeIdentifier


  • public class NodeIdentifier
    extends Object
    Identifies a node uniquely in the cluster.

    If you ask yourself: why is the hostname not enough? Well, let me tell you that it is possible to run multiple nodes on the same host if you compile it from source and know how. So the hostname alone is not enough, we also need to know the cluster manager port to properly identify each node.

    • Constructor Detail

      • NodeIdentifier

        public NodeIdentifier​(String address,
                              int managerPort)