public interface LocalAwareExecutorService
extends java.util.concurrent.ExecutorService
Modifier and Type | Method and Description |
---|---|
void |
execute(java.lang.Runnable command,
ExecutorLocals locals) |
int |
getActiveTaskCount()
Returns the approximate number of threads that are actively
executing tasks.
|
long |
getCompletedTaskCount()
Returns the approximate total number of tasks that have
completed execution.
|
int |
getMaximumPoolSize()
Returns the maximum allowed number of threads.
|
default int |
getMaxTasksQueued() |
int |
getPendingTaskCount()
Returns the approximate total of tasks waiting to be executed.
|
void |
maybeExecuteImmediately(java.lang.Runnable command) |
void execute(java.lang.Runnable command, ExecutorLocals locals)
void maybeExecuteImmediately(java.lang.Runnable command)
int getActiveTaskCount()
long getCompletedTaskCount()
int getPendingTaskCount()
int getMaximumPoolSize()
default int getMaxTasksQueued()
Copyright © 2009-2019 The Apache Software Foundation