Package org.jboss.as.threads
Interface ManagedQueueExecutorService
- All Superinterfaces:
Executor,ExecutorService,ManagedExecutorService
- All Known Subinterfaces:
ManagedJBossThreadPoolExecutorService,ManagedQueuelessExecutorService
ExecutorService that provides hooks for integration
with a WildFly management resource.- Author:
- Alexey Loubyansky
-
Method Summary
Modifier and TypeMethodDescriptionintlongintintlongintintintintintlongbooleanbooleanGets whether this executor is configured to block calls toExecutor.execute(Runnable)untilthread capacityorqueue capacityis available to handle the provided task.Methods inherited from interface java.util.concurrent.ExecutorService
awaitTermination, invokeAll, invokeAll, invokeAny, invokeAny, isShutdown, isTerminated, submit, submit, submitMethods inherited from interface org.jboss.as.threads.ManagedExecutorService
shutdown, shutdownNow
-
Method Details
-
isBlocking
boolean isBlocking()Gets whether this executor is configured to block calls toExecutor.execute(Runnable)untilthread capacityorqueue capacityis available to handle the provided task.- Returns:
trueif this executor support blocking semantics;falseotherwise
-
getCoreThreads
int getCoreThreads() -
isAllowCoreTimeout
boolean isAllowCoreTimeout() -
getMaxThreads
int getMaxThreads() -
getKeepAlive
long getKeepAlive() -
getRejectedCount
int getRejectedCount() -
getTaskCount
long getTaskCount() -
getLargestThreadCount
int getLargestThreadCount() -
getLargestPoolSize
int getLargestPoolSize() -
getCurrentThreadCount
int getCurrentThreadCount() -
getCompletedTaskCount
long getCompletedTaskCount() -
getActiveCount
int getActiveCount() -
getQueueSize
int getQueueSize()
-