Improve documentation and configuration API when using together: sharding and distibuted data (#20215)

* Missing setter for stateStoreMode in ClusterShardingSettings

* Improve Sharding documentation regarding Distributed Data Storage
This commit is contained in:
jsuchenia 2016-04-18 11:37:56 +02:00 committed by Patrik Nordwall
parent 2418e610ab
commit e4127c3af6
3 changed files with 11 additions and 0 deletions

View file

@ -129,6 +129,9 @@ final class ClusterShardingSettings(
def withTuningParameters(tuningParameters: ClusterShardingSettings.TuningParameters): ClusterShardingSettings =
copy(tuningParameters = tuningParameters)
def withStateStoreMode(stateStoreMode: String): ClusterShardingSettings =
copy(stateStoreMode = stateStoreMode)
/**
* The `role` of the `ClusterSingletonManagerSettings` is not used. The `role` of the
* coordinator singleton will be the same as the `role` of `ClusterShardingSettings`.