case class LeaseSpec(acquireTime: Option[MicroTime] = None, holderIdentity: Option[String] = None, leaseDurationSeconds: Option[Int] = None, leaseTransitions: Option[Int] = None, renewTime: Option[MicroTime] = None) extends Product with Serializable
LeaseSpec is a specification of a Lease.
- acquireTime
acquireTime is a time when the current lease was acquired.
- 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.
- renewTime
renewTime is a time when the current holder of a lease has last updated the lease.
- Alphabetic
- By Inheritance
- LeaseSpec
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new LeaseSpec(acquireTime: Option[MicroTime] = None, holderIdentity: Option[String] = None, leaseDurationSeconds: Option[Int] = None, leaseTransitions: Option[Int] = None, renewTime: Option[MicroTime] = None)
- acquireTime
acquireTime is a time when the current lease was acquired.
- 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.
- renewTime
renewTime is a time when the current holder of a lease has last updated the lease.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val acquireTime: Option[MicroTime]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val holderIdentity: Option[String]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val leaseDurationSeconds: Option[Int]
- val leaseTransitions: Option[Int]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val renewTime: Option[MicroTime]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated