Uses of Interface
com.tccc.kos.commons.util.concurrent.future.FutureRunnable
Packages that use FutureRunnable
-
Uses of FutureRunnable in com.tccc.kos.commons.util.concurrent.future
Methods in com.tccc.kos.commons.util.concurrent.future with parameters of type FutureRunnableModifier and TypeMethodDescriptionFutureWork.append
(String name, FutureEvent event, FutureRunnable callback) Appends an event callback.FutureWork.prepend
(String name, FutureEvent event, FutureRunnable callback) Prepends an event callback.FutureWork.setRunnable
(FutureRunnable runnable) Sets therunnable
to be performed by the work.ParallelFuture.setRunnable
(FutureRunnable runnable) SequencedFuture.setRunnable
(FutureRunnable runnable) FutureWork.setTimeout
(long delay, FutureRunnable callback) Adds a timeout to the work that will call the specified callback.Constructors in com.tccc.kos.commons.util.concurrent.future with parameters of type FutureRunnableModifierConstructorDescriptionFutureWork
(String name, FutureRunnable runnable) Returns work that will perform the specifiedrunnable
.FutureWork
(String name, FutureRunnable runnable, long estimatedTimeMs) Returns work that will perform the specifiedFutureRunnable
, which is expected to take the specified amount of time to complete.