public abstract class ReentrantThreadExecutor<R extends Runnable> extends ThreadExecutor<R>
Modifier and Type | Field and Description |
---|---|
private int |
runningTasks |
Constructor and Description |
---|
ReentrantThreadExecutor(String name) |
Modifier and Type | Method and Description |
---|---|
protected void |
executeTask(R task) |
protected boolean |
hasRunningTasks() |
protected boolean |
shouldExecuteAsync() |
cancelTasks, canExecute, createTask, execute, getName, getTaskCount, getThread, isOnThread, runTask, runTasks, runTasks, send, submit, submit, submitAndJoin, waitForTasks
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
ask, close, create, method_27918
public ReentrantThreadExecutor(String name)
protected boolean shouldExecuteAsync()
shouldExecuteAsync
in class ThreadExecutor<R extends Runnable>
protected boolean hasRunningTasks()
protected void executeTask(R task)
executeTask
in class ThreadExecutor<R extends Runnable>