=cls Clarify the sharding role setting

This commit is contained in:
Patrik Nordwall 2015-12-18 11:15:06 +01:00
parent 8dbade7131
commit d44120b726
3 changed files with 6 additions and 3 deletions

View file

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