public class OrderedExecutor
extends java.lang.Object
implements java.util.concurrent.Executor
The ordered executor behaves semantically like a single-threaded executor, but multiplexes tasks on a shared thread pool, ensuring blocked threads in the shared thread pool don't block individual ordered executors.
Constructor and Description |
---|
OrderedExecutor(java.util.concurrent.Executor parent) |
Modifier and Type | Method and Description |
---|---|
void |
execute(java.lang.Runnable command) |