@ ManagedOperation public void enableReaping ( long interval ) { if ( task != null ) task . cancel ( false ) ; task = timer . scheduleWithFixedDelay ( new Reaper ( ) , 0 , interval , TimeUnit . MILLISECONDS ) ; }
Runs the reaper every interval ms evicts expired items