public void addOneShotAfterTask ( final long fireAfter , final TimeUnit timeUnit , final Runnable task ) { fireOnceAfterTasks . add ( new FireOnceTask ( task , timeUnit , fireAfter ) ) ; }
Add a task that gets executed once .