=cls Clarify the sharding role setting
This commit is contained in:
parent
8dbade7131
commit
d44120b726
3 changed files with 6 additions and 3 deletions
|
|
@ -129,6 +129,10 @@ final class ClusterShardingSettings(
|
|||
def withTuningParameters(tuningParameters: ClusterShardingSettings.TuningParameters): ClusterShardingSettings =
|
||||
copy(tuningParameters = tuningParameters)
|
||||
|
||||
/**
|
||||
* The `role` of the `ClusterSingletonManagerSettings` is not used. The `role` of the
|
||||
* coordinator singleton will be the same as the `role` of `ClusterShardingSettings`.
|
||||
*/
|
||||
def withCoordinatorSingletonSettings(coordinatorSingletonSettings: ClusterSingletonManagerSettings): ClusterShardingSettings =
|
||||
copy(coordinatorSingletonSettings = coordinatorSingletonSettings)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue