LeaseSpec

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.

LeaseSpec is a specification of a Lease.

Value Params
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.

Companion
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

Gets acquireTime.

Gets acquireTime.

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

def getHolderIdentity: IO[K8sFailure, String]

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.

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.

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.

Gets renewTime.

Gets renewTime.

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

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product