public class SingleThreadExecutor extends Object implements Executor
| Modifier and Type | Method and Description |
|---|---|
void |
execute(Runnable task)
If background thread is started then executes task in this thread, otherwise executes task in current thread.
|
void |
stopExecutionThread()
Stops the executor thread
|
public void execute(Runnable task)
public void stopExecutionThread()
Copyright © 2020. All rights reserved.