object LeaseUsageSettings
Note that if you define a custom lease name and have several Cluster Singletons or Cluster Sharding entity types each one must have a unique lease name. If the lease name is undefined it will be derived from ActorSystem name and other component names, but that may result in too long lease names.
- Source
- LeaseUsageSettings.scala
- Alphabetic
- By Inheritance
- LeaseUsageSettings
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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
- def apply(leaseImplementation: String, leaseRetryInterval: FiniteDuration, leaseName: String): LeaseUsageSettings
Scala API:
Scala API:
- leaseName
Note that if you have several Cluster Singletons or Cluster Sharding entity types using lease each one must have a unique lease name
- def apply(leaseImplementation: String, leaseRetryInterval: FiniteDuration): LeaseUsageSettings
Scala API: Create lease settings with undefined lease name to trigger auto generated names when used with for example singleton or sharding
- def apply(config: Config): LeaseUsageSettings
Scala API: Load the settings from the given lease config block
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- def create(leaseImplementation: String, leaseRetryInterval: Duration, leaseName: String): LeaseUsageSettings
Java API:
Java API:
- leaseName
Note that if you have several Cluster Singletons or Cluster Sharding entity types using lease each one must have a unique lease name
- def create(leaseImplementation: String, leaseRetryInterval: Duration): LeaseUsageSettings
Java API: Create lease settings with undefined lease name to trigger auto generated names when used with for example singleton or sharding
- def create(config: Config): LeaseUsageSettings
Java API: Load the settings from the given lease config block
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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])