Akka.Cluster.Tools.Singleton.ClusterSingletonProxy.IdentifySingleton C# (CSharp) Method

IdentifySingleton() private method

private IdentifySingleton ( ) : void
return void
        private void IdentifySingleton()
        {
            Log.Debug("Creating singleton identification timer...");
            _identityCounter++;
            _identityId = CreateIdentifyId(_identityCounter);
            _singleton = null;
            CancelTimer();
            _identityTimer = Context.System.Scheduler.ScheduleTellRepeatedlyCancelable(
                initialDelay: TimeSpan.FromMilliseconds(1), //TODO: this should be TimeSpan.Zero
                interval: _settings.SingletonIdentificationInterval,
                receiver: Self,
                message: TryToIdentifySingleton.Instance,
                sender: Self);
        }