public NodeWatchdogThread(ICheckerFactory checkerFactory) : base(() => new IChecker[] { checkerFactory.CreateChecker <IDiskSpaceChecker>() }) { }
public SynchronizerWatchdogThread(ICheckerFactory checkerFactory, IEtcdLeaseBackgroundTask etcdLeaseBackgroundTask) : base(() => new IChecker[] { checkerFactory.CreateChecker <ILeaderElectionChecker>(), checkerFactory.CreateChecker <IDiskSpaceChecker>() }) { _etcdLeaseBackgroundTask = etcdLeaseBackgroundTask; }