!clt #17364 Make ShardRegion.props internal

* the extension api is enough
* simplify how roles are specified
* make proxy mode more explicit by seperate
  method `startProxy`
This commit is contained in:
Patrik Nordwall 2015-06-04 22:54:26 +02:00
parent 9a762ff10e
commit c1d5221bf8
9 changed files with 168 additions and 150 deletions

View file

@ -123,8 +123,8 @@ class ClusterShardingLeavingSpec extends MultiNodeSpec(ClusterShardingLeavingSpe
def startSharding(): Unit = {
ClusterSharding(system).start(
typeName = "Entity",
entryProps = Some(Props[Entity]),
roleOverride = None,
entryProps = Props[Entity],
role = None,
rememberEntries = false,
idExtractor = idExtractor,
shardResolver = shardResolver)