Class RegistryBasedGeneratorIdentity

  • All Implemented Interfaces:
    Closeable, AutoCloseable, GeneratorIdentityHolder

    public class RegistryBasedGeneratorIdentity
    extends Object
    implements GeneratorIdentityHolder
    Holder for a claimed cluster-id and generator-id that once claimed remains claimed without an active connection to an Etcd cluster. The claim is relinquished upon calling close() (where a new connection to Etcd will be set up briefly).