public ClusterActorSystemService(TimerCacheCluster clusterBuilder)
        {
            this.clusterBuilder = clusterBuilder;

            OnRestar = () => Task.Run(Restart);

            Create();
        }
Пример #2
0
        public ClusterActorSystemService(TimerCacheCluster clusterBuilder)
        {
            var actorSystem = clusterBuilder.GetClusterNode();

            askActor = actorSystem.ActorOf(Props.Create <ClusterAskActor>(), "ClusterAskActor");
        }