Packages

final case class LeaseSpec(leaseTransitions: Option[Int] = None, holderIdentity: Option[String] = None, leaseDurationSeconds: Option[Int] = None, renewTime: Option[MicroTime] = None, acquireTime: Option[MicroTime] = None) extends Product with Serializable

LeaseSpec is a specification of a Lease.

Source
LeaseSpec.scala
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LeaseSpec
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new LeaseSpec(leaseTransitions: Option[Int] = None, holderIdentity: Option[String] = None, leaseDurationSeconds: Option[Int] = None, renewTime: Option[MicroTime] = None, acquireTime: Option[MicroTime] = None)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val acquireTime: Option[MicroTime]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  9. val holderIdentity: Option[String]
  10. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  11. val leaseDurationSeconds: Option[Int]
  12. val leaseTransitions: Option[Int]
  13. def mapAcquireTime(f: (MicroTime) ⇒ MicroTime): LeaseSpec

    if acquireTime has a value, transforms to the result of function

  14. def mapHolderIdentity(f: (String) ⇒ String): LeaseSpec

    if holderIdentity has a value, transforms to the result of function

  15. def mapLeaseDurationSeconds(f: (Int) ⇒ Int): LeaseSpec

    if leaseDurationSeconds has a value, transforms to the result of function

  16. def mapLeaseTransitions(f: (Int) ⇒ Int): LeaseSpec

    if leaseTransitions has a value, transforms to the result of function

  17. def mapRenewTime(f: (MicroTime) ⇒ MicroTime): LeaseSpec

    if renewTime has a value, transforms to the result of function

  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. val renewTime: Option[MicroTime]
  22. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  23. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. def withAcquireTime(value: MicroTime): LeaseSpec

    Returns a new data with acquireTime set to new value

  27. def withHolderIdentity(value: String): LeaseSpec

    Returns a new data with holderIdentity set to new value

  28. def withLeaseDurationSeconds(value: Int): LeaseSpec

    Returns a new data with leaseDurationSeconds set to new value

  29. def withLeaseTransitions(value: Int): LeaseSpec

    Returns a new data with leaseTransitions set to new value

  30. def withRenewTime(value: MicroTime): LeaseSpec

    Returns a new data with renewTime set to new value

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped