final class ShardedDaemonProcessSettings extends AnyRef
- Alphabetic
- By Inheritance
- ShardedDaemonProcessSettings
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Value Members
- val keepAliveFromNumberOfNodes: Int
- val keepAliveInterval: FiniteDuration
- val keepAliveThrottleInterval: FiniteDuration
- val role: Option[String]
- val shardingSettings: [ClusterShardingSettings]
- def withKeepAliveFromNumberOfNodes(keepAliveFromNumberOfNodes: Int): ShardedDaemonProcessSettings
Keep alive messages from this number of nodes.
- def withKeepAliveInterval(keepAliveInterval: Duration): ShardedDaemonProcessSettings
Java API: The interval each parent of the sharded set is pinged from each node in the cluster.
Java API: The interval each parent of the sharded set is pinged from each node in the cluster.
Note: How the sharded set is kept alive may change in the future meaning this setting may go away.
- def withKeepAliveInterval(keepAliveInterval: FiniteDuration): ShardedDaemonProcessSettings
Scala API: The interval each parent of the sharded set is pinged from each node in the cluster.
Scala API: The interval each parent of the sharded set is pinged from each node in the cluster.
Note: How the sharded set is kept alive may change in the future meaning this setting may go away.
- def withKeepAliveThrottleInterval(keepAliveThrottleInterval: Duration): ShardedDaemonProcessSettings
Java API: Keep alive messages are sent with this delay between each message.
- def withKeepAliveThrottleInterval(keepAliveThrottleInterval: FiniteDuration): ShardedDaemonProcessSettings
Scala API: Keep alive messages are sent with this delay between each message.
- def withRole(role: String): ShardedDaemonProcessSettings
Specifies that the ShardedDaemonProcess should run on nodes with a specific role.
Specifies that the ShardedDaemonProcess should run on nodes with a specific role. If the role is not specified all nodes in the cluster are used. If the given role does not match the role of the current node the the ShardedDaemonProcess will not be started.
- def withShardingSettings(shardingSettings: ClusterShardingSettings): ShardedDaemonProcessSettings
Specify sharding settings that should be used for the sharded daemon process instead of loading from config.
Specify sharding settings that should be used for the sharded daemon process instead of loading from config. Some settings can not be changed (remember-entitites and related settings, passivation, number-of-shards), changing those settings will be ignored.
Not for user constructions, use factory methods to instantiate.