public class InvokeExecutor
extends java.lang.Object
implements java.util.concurrent.Executor
| Constructor and Description |
|---|
InvokeExecutor() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(@NotNull java.lang.Runnable command) |
int |
getTaskCount()
現在の実行待ちタスクの数
|
int |
runTasks()
すべてのタスクを実行する
|
int |
runTasks(int max)
最大指定した数のタスクをすべて実行する
|
public void execute(@NotNull
@NotNull java.lang.Runnable command)
execute in interface java.util.concurrent.Executorpublic int runTasks()
public int runTasks(int max)
max - 実行する最大タスク数public int getTaskCount()