Package io.deephaven.kv.etcd.lease
package io.deephaven.kv.etcd.lease
-
ClassDescriptionThe exception to raise when a new service registration is invoked on an existing active lease for an endpointEncapsulates a lease value with associated timeouts that can be used by a client to manage the lease.An Unchecked Exception that captures failures in
DeephavenLeasemethodsA generic class that encapsulates all operations forDeephavenLeaseincluding scheduling lease renewals.Basic implementation of DeephavenLease interfaceA Lease State Observer interface used inDeephavenLeaseHandlerClass that is returned as return value in Future forRenewingLeaseManager.recreateRegistrations(String)holds two attributes the on completion, that together indicate if recreation was successful or recreation was unsuccessful with a retryable errorRenewingLeaseManager<K,V> Interface that maintains the relevant state to discardDeephavenLeaseHandlerand register anew when theDeephavenLeaseexpires.An Unchecked Exception that captures failures inRenewingLeaseManagermethodsGeneric implementation of RenewingLeaseManagerThrown when the lease deadline expired but underlying exception is not due to the presence of Active lease.Is a subtype ofRenewingLeaseManagerExceptionwhich when thrown indicates the called method can be retried.