ClusterSharding.Node.AutomaticJoin.AutomaticCluster.AutomaticCluster C# (CSharp) Метод

AutomaticCluster() публичный Метод

public AutomaticCluster ( ActorSystem system ) : System.Collections.Immutable
system ActorSystem
Результат System.Collections.Immutable
        public AutomaticCluster(ActorSystem system)
        {
            _system = system;
            _cluster = Cluster.Get(system);
            _persistence = SqlitePersistence.Get(system);
            _dbHelper = new DbHelper(() =>
            {
                var conn = new SQLiteConnection(_persistence.JournalSettings.ConnectionString);
                conn.Open();
                return conn;
            });
        }