Example #1
0
  public void start() {
    // Start the background reaper thread
    if (reaper == null) {
      reaper = new Reaper("Expirer");
      reaper.addCallback(this, checkInterval * 1000);
    }

    reaper.startReaper();
  }
Example #2
0
 public void stop() {
   reaper.stopReaper();
 }