@ProviderType
public interface ThreadPoolMBean
Modifier and Type | Method and Description |
---|---|
String |
getBlockPolicy()
Retrieve the block policy of the thread pool.
|
int |
getExecutorActiveCount()
Retrieve the active count from the pool's Executor.
|
long |
getExecutorCompletedTaskCount()
Retrieve the completed task count from the pool's Executor.
|
int |
getExecutorCorePoolSize()
Retrieve the core pool size from the pool's Executor.
|
int |
getExecutorLargestPoolSize()
Retrieve the largest pool size from the pool's Executor.
|
int |
getExecutorMaximumPoolSize()
Retrieve the maximum pool size from the pool's Executor.
|
int |
getExecutorPoolSize()
Retrieve the pool size from the pool's Executor.
|
long |
getExecutorTaskCount()
Retrieve the task count from the pool's Executor.
|
long |
getKeepAliveTime()
Return the configured keep alive time.
|
int |
getMaxPoolSize()
Return the configured maximum pool size.
|
long |
getMaxThreadAge()
Return the configured max thread age.
|
int |
getMinPoolSize()
Return the minimum pool size.
|
String |
getName()
Return the name of the thread pool
|
String |
getPid()
Return the configuration pid of the thread pool.
|
String |
getPriority()
Return the configured priority of the thread pool.
|
int |
getQueueSize()
Return the configured queue size.
|
int |
getShutdownWaitTimeMs()
Return the configured shutdown wait time in milliseconds.
|
boolean |
isDaemon()
Return whether or not the thread pool creates daemon threads.
|
boolean |
isShutdownGraceful()
Return whether or not the thread pool is configured to shutdown gracefully.
|
boolean |
isUsed()
Return whether or not the thread pool is in use.
|
String getBlockPolicy()
int getExecutorActiveCount()
long getExecutorCompletedTaskCount()
int getExecutorCorePoolSize()
int getExecutorLargestPoolSize()
int getExecutorMaximumPoolSize()
int getExecutorPoolSize()
long getExecutorTaskCount()
long getMaxThreadAge()
long getKeepAliveTime()
int getMaxPoolSize()
int getMinPoolSize()
String getName()
String getPid()
String getPriority()
int getQueueSize()
int getShutdownWaitTimeMs()
boolean isDaemon()
boolean isShutdownGraceful()
boolean isUsed()
Copyright © 2017 The Apache Software Foundation. All rights reserved.