Packages

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
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LeaseUsageSettings
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

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

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

  3. def apply(config: Config): LeaseUsageSettings

    Scala API: Load the settings from the given lease config block

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

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

  6. def create(config: Config): LeaseUsageSettings

    Java API: Load the settings from the given lease config block