LeaseSpec class
LeaseSpec is a specification of a Lease.
Constructors
Properties
- acquireTime → String?
-
acquireTime is a time when the current lease was acquired.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- holderIdentity → String?
-
holderIdentity contains the identity of the holder of a current lease.
final
- leaseDurationSeconds → int?
-
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.
final
- leaseTransitions → int?
-
leaseTransitions is the number of transitions of a lease between holders.
final
- renewTime → String?
-
renewTime is a time when the current holder of a lease has last updated the lease.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object> - Converts a LeaseSpec instance to JSON data.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited