private final SampledCounter jobsCompletedCount;
SampledStatisticsImpl(QuartzScheduler scheduler) {
this.scheduler = scheduler;
counterManager = new CounterManagerImpl(new Timer(NAME+"Timer"));
jobsScheduledCount = createSampledCounter(DEFAULT_SAMPLED_COUNTER_CONFIG);
jobsExecutingCount = createSampledCounter(DEFAULT_SAMPLED_COUNTER_CONFIG);
jobsCompletedCount = createSampledCounter(DEFAULT_SAMPLED_COUNTER_CONFIG);
scheduler.addInternalSchedulerListener(this);