public ICheck ToCheck()
        {
            var clusterService = CouchmonContext.GetInstance <IClusterService>();

            return(new DocumentThresholdCheck(clusterService, DocumentThreshold));
        }
Beispiel #2
0
        public ICheck ToCheck()
        {
            var clusterService = CouchmonContext.GetInstance <IClusterService>();

            return(new RamThresholdCheck(clusterService, RamUsageThreshold));
        }