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
- 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
- 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