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(java.lang.Runnable runnable)
execute in interface java.util.concurrent.Executorrunnable - the task to run on the main threadpublic int getActiveCount()