| Constructor and Description |
|---|
SerializingExecutor(Executor executor)
Creates a SerializingExecutor, running tasks using
executor. |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(Runnable r)
Runs the given runnable strictly after all Runnables that were submitted
before it, and using the
executor passed to the constructor. |
public SerializingExecutor(Executor executor)
executor.executor - Executor in which tasks should be run. Must not be null.