public class SynchronousExecutor
extends java.lang.Object
implements java.util.concurrent.Executor
| Constructor and Description |
|---|
SynchronousExecutor() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(java.lang.Runnable runnable)
Executes the given Runnable task.
|
int |
getActiveCount()
Get the account number of executing actions.
|
public void execute(@NonNull
java.lang.Runnable runnable)
execute in interface java.util.concurrent.Executorrunnable - The task to run on the main thread.public int getActiveCount()