Package org.threadly.concurrent
Interface RunnableContainer
-
- All Known Implementing Classes:
RunnableCallableAdapter
,ThreadRenamingRunnable
,ThrowableSuppressingRunnable
public interface RunnableContainer
Interface to implement if any classes are containing a runnable. This interface must be implemented in order for thePriorityScheduler
(and others) remove function to work correctly if that wrapper is ever provided to the thread pool.- Since:
- 4.3.0 (since 1.0.0 as RunnableContainerInterface)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Runnable
getContainedRunnable()
Call to get the contained runnable within the wrapper.
-