public class LatchingRunnable
extends java.lang.Object
implements java.lang.Runnable
| Constructor and Description |
|---|
LatchingRunnable() |
| Modifier and Type | Method and Description |
|---|---|
void |
block() |
static void |
drain(java.util.concurrent.Executor executor)
Blocks until all of the tasks on the given executor have executed.
|
void |
run() |