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
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LeaseSpec
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

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(classOf[java.lang.CloneNotSupportedException]) @native()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. val holderIdentity: Option[String]
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. val leaseDurationSeconds: Option[Int]
  13. val leaseTransitions: Option[Int]
  14. def mapAcquireTime(f: (MicroTime) => MicroTime): LeaseSpec

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

  15. def mapHolderIdentity(f: (String) => String): LeaseSpec

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

  16. def mapLeaseDurationSeconds(f: (Int) => Int): LeaseSpec

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

  17. def mapLeaseTransitions(f: (Int) => Int): LeaseSpec

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

  18. def mapRenewTime(f: (MicroTime) => MicroTime): LeaseSpec

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

  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. def productElementNames: Iterator[String]
    Definition Classes
    Product
  23. val renewTime: Option[MicroTime]
  24. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  28. def withAcquireTime(value: MicroTime): LeaseSpec

    Returns a new data with acquireTime set to new value

  29. def withHolderIdentity(value: String): LeaseSpec

    Returns a new data with holderIdentity set to new value

  30. def withLeaseDurationSeconds(value: Int): LeaseSpec

    Returns a new data with leaseDurationSeconds set to new value

  31. def withLeaseTransitions(value: Int): LeaseSpec

    Returns a new data with leaseTransitions set to new value

  32. def withRenewTime(value: MicroTime): LeaseSpec

    Returns a new data with renewTime set to new value

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped