Akka.Cluster.ClusterMetricsCollector.PreStart C# (CSharp) Method

PreStart() protected method

protected PreStart ( ) : void
return void
        protected override void PreStart()
        {
            _cluster.Subscribe(Self,new []{ typeof(ClusterEvent.IMemberEvent), typeof(ClusterEvent.ReachabilityEvent) });
            _cluster.LogInfo("Metrics collection has started successfully.");
        }