TimeUnit.MINUTES.toMillis(savePeriodMins),
TimeUnit.MINUTES.toMillis(savePeriodMins));
}
// has the side-effect of causing static initialization of Metrics, starting instrumentation reporting.
new RestartGauge(Metrics.getRegistry(), RollupService.class);
final Collection<Integer> shards = Collections.unmodifiableCollection(
Util.parseShards(config.getStringProperty(CoreConfig.SHARDS)));
final String zkCluster = config.getStringProperty(CoreConfig.ZOOKEEPER_CLUSTER);
final ScheduleContext rollupContext = "NONE".equals(zkCluster) ?