Akka.Cluster.Sharding.Tests.ClusterShardingGracefulShutdownSpec.ClusterShardingGracefulShutdownSpec C# (CSharp) Method

ClusterShardingGracefulShutdownSpec() protected method

protected ClusterShardingGracefulShutdownSpec ( ) : System
return System
        protected ClusterShardingGracefulShutdownSpec() : base(new ClusterShardingGracefulShutdownSpecConfig())
        {
            _storageLocations = new[]
            {
                "akka.persistence.journal.leveldb.dir",
                "akka.persistence.journal.leveldb-shared.store.dir",
                "akka.persistence.snapshot-store.local.dir"
            }.Select(s => new DirectoryInfo(Sys.Settings.Config.GetString(s))).ToArray();

            _region = new Lazy<IActorRef>(() => ClusterSharding.Get(Sys).ShardRegion("Entity"));

            _first = new RoleName("first");
            _second = new RoleName("second");
        }