Interface LeaseSpec

  • All Superinterfaces:
    software.amazon.jsii.JsiiSerializable
    All Known Implementing Classes:
    LeaseSpec.Jsii$Proxy

    @Generated(value="jsii-pacmak/1.80.0 (build bce6a1d)",
               date="2023-05-05T16:22:34.155Z")
    @Stability(Stable)
    public interface LeaseSpec
    extends software.amazon.jsii.JsiiSerializable
    LeaseSpec is a specification of a Lease.
    • Method Detail

      • getAcquireTime

        @Stability(Stable)
        @Nullable
        default Instant getAcquireTime()
        acquireTime is a time when the current lease was acquired.
      • getHolderIdentity

        @Stability(Stable)
        @Nullable
        default String getHolderIdentity()
        holderIdentity contains the identity of the holder of a current lease.
      • getLeaseDurationSeconds

        @Stability(Stable)
        @Nullable
        default Number getLeaseDurationSeconds()
        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.

      • getLeaseTransitions

        @Stability(Stable)
        @Nullable
        default Number getLeaseTransitions()
        leaseTransitions is the number of transitions of a lease between holders.
      • getRenewTime

        @Stability(Stable)
        @Nullable
        default Instant getRenewTime()
        renewTime is a time when the current holder of a lease has last updated the lease.