Class LeaseSpecPatch


  • public final class LeaseSpecPatch
    extends java.lang.Object
    • Method Detail

      • acquireTime

        public java.util.Optional<java.lang.String> acquireTime()
        Returns:
        acquireTime is a time when the current lease was acquired.
      • holderIdentity

        public java.util.Optional<java.lang.String> holderIdentity()
        Returns:
        holderIdentity contains the identity of the holder of a current lease.
      • leaseDurationSeconds

        public java.util.Optional<java.lang.Integer> leaseDurationSeconds()
        Returns:
        leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measure against time of last observed RenewTime.
      • leaseTransitions

        public java.util.Optional<java.lang.Integer> leaseTransitions()
        Returns:
        leaseTransitions is the number of transitions of a lease between holders.
      • renewTime

        public java.util.Optional<java.lang.String> renewTime()
        Returns:
        renewTime is a time when the current holder of a lease has last updated the lease.