this.env = env;
this.name = name;
/* Initiate the stats definitions. */
stats = new StatGroup(GROUP_NAME, GROUP_DESC);
nCleanerRuns = new LongStat(stats, CLEANER_RUNS);
nCleanerDeletions = new LongStat(stats, CLEANER_DELETIONS);
nINsObsolete = new LongStat(stats, CLEANER_INS_OBSOLETE);
nINsCleaned = new LongStat(stats, CLEANER_INS_CLEANED);
nINsDead = new LongStat(stats, CLEANER_INS_DEAD);
nINsMigrated = new LongStat(stats, CLEANER_INS_MIGRATED);
nLNsObsolete = new LongStat(stats, CLEANER_LNS_OBSOLETE);
nLNsCleaned = new LongStat(stats, CLEANER_LNS_CLEANED);
nLNsDead = new LongStat(stats, CLEANER_LNS_DEAD);
nLNsLocked = new LongStat(stats, CLEANER_LNS_LOCKED);
nLNsMigrated = new LongStat(stats, CLEANER_LNS_MIGRATED);
nLNsMarked = new LongStat(stats, CLEANER_LNS_MARKED);
nLNQueueHits = new LongStat(stats, CLEANER_LNQUEUE_HITS);
nPendingLNsProcessed =
new LongStat(stats, CLEANER_PENDING_LNS_PROCESSED);
nMarkedLNsProcessed = new LongStat(stats, CLEANER_MARKED_LNS_PROCESSED);
nToBeCleanedLNsProcessed =
new LongStat(stats, CLEANER_TO_BE_CLEANED_LNS_PROCESSED);
nClusterLNsProcessed =
new LongStat(stats, CLEANER_CLUSTER_LNS_PROCESSED);
nPendingLNsLocked = new LongStat(stats, CLEANER_PENDING_LNS_LOCKED);
nEntriesRead = new LongStat(stats, CLEANER_ENTRIES_READ);
nRepeatIteratorReads =
new LongStat(stats, CLEANER_REPEAT_ITERATOR_READS);
totalLogSize = new LongStat(stats, CLEANER_TOTAL_LOG_SIZE);
tracker = new UtilizationTracker(env, this);
profile = new UtilizationProfile(env, tracker);
fileSelector = new FileSelector();
threads = new FileProcessor[0];