public void setCheckPendingSeriesStoredInterval(String interval) throws Exception {
   long oldInterval = checkPendingSeriesStoredInterval;
   checkPendingSeriesStoredInterval = RetryIntervalls.parseIntervalOrNever(interval);
   if (getState() == STARTED && oldInterval != checkPendingSeriesStoredInterval) {
     scheduler.stopScheduler(
         timerIDCheckPendingSeriesStored, listenerID, checkPendingSeriesStoredListener);
     listenerID =
         scheduler.startScheduler(
             timerIDCheckPendingSeriesStored,
             checkPendingSeriesStoredInterval,
             checkPendingSeriesStoredListener);
   }
 }
 protected void startService() throws Exception {
   super.startService();
   listenerID =
       scheduler.startScheduler(
           timerIDCheckPendingSeriesStored,
           checkPendingSeriesStoredInterval,
           checkPendingSeriesStoredListener);
 }
 protected void stopService() throws Exception {
   scheduler.stopScheduler(
       timerIDCheckPendingSeriesStored, listenerID, checkPendingSeriesStoredListener);
   super.stopService();
 }
 public void setSchedulerServiceName(ObjectName schedulerServiceName) {
   scheduler.setSchedulerServiceName(schedulerServiceName);
 }
 public ObjectName getSchedulerServiceName() {
   return scheduler.getSchedulerServiceName();
 }