this.statistics = other != null ? other.statistics : new RepositoryStatistics(tempContext);
if (this.config.getMonitoring().enabled()) {
// Start the Cron service, with a minimum of a single thread ...
this.statsRollupService = tempContext.getScheduledThreadPool("modeshape-stats");
this.statistics.start(this.statsRollupService);
this.mbean = new RepositoryStatisticsBean(statistics, getName());
this.mbean.start();
} else {
this.statsRollupService = null;
this.mbean = null;
}