public final class SerialExecutor extends Object implements AutoCloseable, Executor
| Constructor and Description |
|---|
SerialExecutor(Executor executor) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Shuts down the executor.
|
void |
execute(Runnable r) |
void |
waitUntilInactive()
Waits until there are no active tasks.
|
public SerialExecutor(Executor executor)
public void waitUntilInactive()
public void close()
close in interface AutoCloseableCopyright © 2022 Google LLC. All rights reserved.