상속: Akka.Remote.TestKit.MultiNodeConfig
예제 #1
0
        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));
        }
예제 #2
0
 protected ClusterShardingSpecRecoveryAll(ClusterShardingSpecConfig config)
     : base(config, typeof(ClusterShardingSpec))
 {
 }