public class BestEffortSerialExecutor extends Object implements Executor
This executor attempts to execute tasks in serial as if they occur on a single thread. However, in the event tasks
are blocking a thread (a thread is in the Thread.State#WAITING or Thread.State#TIMED_WAITING state)
the executor will execute tasks on parallel on the underlying Executor. This is useful for ensuring blocked
threads cannot block events, but mimics a single-threaded model otherwise.
| Constructor and Description |
|---|
BestEffortSerialExecutor(Executor parent) |