Packages

package cluster

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. class ClusterDistribution extends Extension

    Distributes a static list of entities evenly over a cluster, ensuring that they are all continuously active.

    Distributes a static list of entities evenly over a cluster, ensuring that they are all continuously active.

    This uses cluster sharding underneath, using a scheduled tick sent to each entity as a mechanism to ensure they are active.

    Entities are cluster sharding entities, so they can discover their ID by inspecting their name. Additionally, entities should handle the com.lightbend.lagom.internal.cluster.ClusterDistribution.EnsureActive message, typically they can do nothing in response to it.

  2. case class ClusterDistributionSettings(clusterShardingSettings: ClusterShardingSettings, ensureActiveInterval: FiniteDuration) extends Product with Serializable

    Settings for cluster distribution.

    Settings for cluster distribution.

    clusterShardingSettings

    The cluster sharding settings.

    ensureActiveInterval

    The interval at which entities are ensured to be active.

Ungrouped