LeaseSpec is a specification of a Lease.
renewTime is a time when the current holder of a lease has last updated the lease.
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 is the number of transitions of a lease between holders.
acquireTime is a time when the current lease was acquired.
holderIdentity contains the identity of the holder of a current lease.
Returns the class of this.
this
Returns a string representation of this.
This method is used to convert the values of string interpolation expressions to strings.
Returns this |> transform if this is non-null, and null otherwise.
this |> transform
null
This method is the complement of the ?? operator and the equivalent of an Option type's map and flatMap methods.
??
Option
map
flatMap
Tells if this object has a property with the given name.
name
Returns the value of the property with the given name.
Throws if a property with this name does not exist.
Returns null if a property with this name does not exist.
Converts this object to a Dynamic object.
Dynamic
Converts this object to a Map.
Map
LeaseSpec is a specification of a Lease.