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
Ordering
- Alphabetic
- By Inheritance
Inherited
- LeaseSpec
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
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( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val holderIdentity: Option[String]
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val leaseDurationSeconds: Option[Int]
- val leaseTransitions: Option[Int]
-
def
mapAcquireTime(f: (MicroTime) ⇒ MicroTime): LeaseSpec
if acquireTime has a value, transforms to the result of function
-
def
mapHolderIdentity(f: (String) ⇒ String): LeaseSpec
if holderIdentity has a value, transforms to the result of function
-
def
mapLeaseDurationSeconds(f: (Int) ⇒ Int): LeaseSpec
if leaseDurationSeconds has a value, transforms to the result of function
-
def
mapLeaseTransitions(f: (Int) ⇒ Int): LeaseSpec
if leaseTransitions has a value, transforms to the result of function
-
def
mapRenewTime(f: (MicroTime) ⇒ MicroTime): LeaseSpec
if renewTime has a value, transforms to the result of function
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val renewTime: Option[MicroTime]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
withAcquireTime(value: MicroTime): LeaseSpec
Returns a new data with acquireTime set to new value
-
def
withHolderIdentity(value: String): LeaseSpec
Returns a new data with holderIdentity set to new value
-
def
withLeaseDurationSeconds(value: Int): LeaseSpec
Returns a new data with leaseDurationSeconds set to new value
-
def
withLeaseTransitions(value: Int): LeaseSpec
Returns a new data with leaseTransitions set to new value
-
def
withRenewTime(value: MicroTime): LeaseSpec
Returns a new data with renewTime set to new value