Interface ContainerIdFactory

All Known Implementing Classes:
DefaultContainerIdFactory

public interface ContainerIdFactory
Factory to create container ids which are used in the ZooKeeper cluster group as unique ids among all the nodes that runs in the cluster.

A custom factory can be used that uses hostname or some other unique way of identifying the container

  • Method Summary

    Modifier and Type
    Method
    Description
     
  • Method Details

    • newContainerId

      String newContainerId()