protected ClusterShardingSpec(ClusterShardingSpecConfig config, Type type) : base(config, type) { _config = config; _region = new Lazy <IActorRef>(() => CreateRegion("counter", false)); _rebalancingRegion = new Lazy <IActorRef>(() => CreateRegion("rebalancingCounter", false)); _persistentEntitiesRegion = new Lazy <IActorRef>(() => CreateRegion("RememberCounterEntities", true)); _anotherPersistentRegion = new Lazy <IActorRef>(() => CreateRegion("AnotherRememberCounter", true)); _persistentRegion = new Lazy <IActorRef>(() => CreateRegion("RememberCounter", true)); _rebalancingPersistentRegion = new Lazy <IActorRef>(() => CreateRegion("RebalancingRememberCounter", true)); _autoMigrateRegion = new Lazy <IActorRef>(() => CreateRegion("AutoMigrateRememberRegionTest", true)); }
protected ClusterShardingSpecRecoveryAll(ClusterShardingSpecConfig config) : base(config, typeof(ClusterShardingSpec)) { }