Interface QThreadPoolExecutorMBean
- All Superinterfaces:
QBean, QBeanSupportMBean, QPersist
- All Known Implementing Classes:
QThreadPoolExecutor
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionintlongintlongintintintlongintbooleanbooleanbooleanMethods inherited from interface QBeanSupportMBean
getDump, getLoader, getLoaderURLS, getLogger, getName, getRealm, getServer, setLogger, setName, setPersist, setRealm, setServerMethods inherited from interface QPersist
getPersist, isModified
-
Method Details
-
getExecSrvType
- Returns:
- executor service type
-
getTerminationTimer
int getTerminationTimer()- Returns:
- await termination delay
-
getActiveCount
- Returns:
- approximate number of threads that are actively executing tasks
- Throws:
NameRegistrar.NotFoundException
-
getCompletedTaskCount
- Returns:
- the approximate total number of tasks that have completed execution.
- Throws:
NameRegistrar.NotFoundException
-
getCorePoolSize
- Returns:
- returns the core number of threads.
- Throws:
NameRegistrar.NotFoundException
-
getKeepAliveTimeMS
- Returns:
- the thread keep-alive time, which is the amount of time (in milliseconds) which threads in excess of the core pool size may remain idle before being terminated
- Throws:
NameRegistrar.NotFoundException
-
getLargestPoolSize
- Returns:
- the largest number of threads that have ever simultaneously been in the pool.
- Throws:
NameRegistrar.NotFoundException
-
getMaximumPoolSize
- Returns:
- the maximum allowed number of threads.
- Throws:
NameRegistrar.NotFoundException
-
getPoolSize
- Returns:
- the current number of threads in the pool.
- Throws:
NameRegistrar.NotFoundException
-
getTaskCount
- Returns:
- the approximate total number of tasks that have been scheduled for execution
- Throws:
NameRegistrar.NotFoundException
-
isShutdown
- Returns:
- true if this executor has been shut down.
- Throws:
NameRegistrar.NotFoundException
-
isTerminated
- Returns:
- true if all tasks have completed following shut down
- Throws:
NameRegistrar.NotFoundException
-
isTerminating
- Returns:
- true if this executor is in the process of terminating after shutdown or shutdownNow but has not completely terminated.
- Throws:
NameRegistrar.NotFoundException
-