LeaseSpec

com.coralogix.zio.k8s.model.coordination.v1.LeaseSpec
See theLeaseSpec companion object
case class LeaseSpec(acquireTime: Optional[MicroTime], holderIdentity: Optional[String], leaseDurationSeconds: Optional[Int], leaseTransitions: Optional[Int], renewTime: Optional[MicroTime])

LeaseSpec is a specification of a Lease.

Value parameters

holderIdentity

holderIdentity contains the identity of the holder of a current lease.

leaseDurationSeconds

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

leaseTransitions is the number of transitions of a lease between holders.

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

Gets acquireTime.

Gets acquireTime.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Attributes

holderIdentity contains the identity of the holder of a current lease.

holderIdentity contains the identity of the holder of a current lease.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Attributes

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.

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.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Attributes

leaseTransitions is the number of transitions of a lease between holders.

leaseTransitions is the number of transitions of a lease between holders.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Attributes

Gets renewTime.

Gets renewTime.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Attributes

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product