javax.management.DynamicMBean
, HealthFeedback
, javax.management.MBeanRegistration
, javax.management.NotificationBroadcaster
, RuntimeMBean
, WebLogicMBean
public interface ThreadPoolRuntimeMBean extends RuntimeMBean, HealthFeedback
Modifier and Type | Method | Description |
---|---|---|
long |
getCompletedRequestCount() |
The number of completed requests in the priority queue.
|
ExecuteThread |
getExecuteThread(java.lang.String threadName) |
The execute thread with the given thread name.
|
int |
getExecuteThreadIdleCount() |
The number of idle threads in the pool.
|
ExecuteThread[] |
getExecuteThreads() |
An array of the threads currently processing work in the active thread pool.
|
int |
getExecuteThreadTotalCount() |
The total number of threads in the pool.
|
HealthState |
getHealthState() |
The health state of this pool.
|
int |
getHoggingThreadCount() |
The threads that are being held by a request right now.
|
long |
getMinThreadsConstraintsCompleted() |
Number of requests with min threads constraint picked up out of
order for execution immediately since their min threads requirement was
not met.
|
int |
getMinThreadsConstraintsPending() |
Number of requests that should be executed now to satisfy the min
threads requirement.
|
int |
getOverloadRejectedRequestsCount() |
Number of requests rejected due to configured Shared Capacity for
work managers have been reached.
|
int |
getPendingUserRequestCount() |
The number of pending user requests in the priority queue.
|
int |
getQueueLength() |
The number of pending requests in the priority queue.
|
int |
getSharedCapacityForWorkManagers() |
Maximum amount of requests that can be accepted in the priority queue.
|
int |
getStandbyThreadCount() |
The number of threads in the standby pool.
|
int |
getStuckThreadCount() |
Number of stuck threads in the thread pool.
|
double |
getThroughput() |
The mean number of requests completed per second.
|
boolean |
isSuspended() |
Indicates if the RequestManager is suspended.
|
getAttribute, getAttributes, invoke, setAttribute, setAttributes
postDeregister, postRegister, preRegister
addNotificationListener, getNotificationInfo, removeNotificationListener
addPropertyChangeListener, removePropertyChangeListener
getMBeanInfo, getName, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setName, setParent
ExecuteThread[] getExecuteThreads()
An array of the threads currently processing work in the active thread pool.
ExecuteThread
ExecuteThread getExecuteThread(java.lang.String threadName)
int getExecuteThreadTotalCount()
The total number of threads in the pool.
int getExecuteThreadIdleCount()
The number of idle threads in the pool. This count does not include standby threads and stuck threads. The count indicates threads that are ready to pick up new work when it arrives
int getQueueLength()
The number of pending requests in the priority queue. This is the total of internal system requests and user requests.
int getPendingUserRequestCount()
The number of pending user requests in the priority queue. The priority queue contains requests from internal subsystems and users. This is just the count of all user requests.
int getSharedCapacityForWorkManagers()
Maximum amount of requests that can be accepted in the priority queue. Note that a request with higher priority will be accepted in place of a lower priority request already in the queue even after the threshold is reached. The lower priority request is kept waiting in the queue till all high priority requests are executed. Also note that further enqueues of the low priority requests are rejected right away.
long getCompletedRequestCount()
The number of completed requests in the priority queue.
int getHoggingThreadCount()
The threads that are being held by a request right now. These threads will either be declared as stuck after the configured timeout or will return to the pool before that. The self-tuning mechanism will backfill if necessary.
int getStandbyThreadCount()
The number of threads in the standby pool. Threads that are not needed to handle the present work load are designated as standby and added to the standby pool. These threads are activated when more threads are needed.
double getThroughput()
The mean number of requests completed per second.
int getMinThreadsConstraintsPending()
Number of requests that should be executed now to satisfy the min threads requirement.
long getMinThreadsConstraintsCompleted()
Number of requests with min threads constraint picked up out of order for execution immediately since their min threads requirement was not met. This does not include the case where threads are idle during schedule.
boolean isSuspended()
Indicates if the RequestManager is suspended. A suspended manager will not dequeue work and dispatch threads till it is resumed.
HealthState getHealthState()
The health state of this pool.
getHealthState
in interface HealthFeedback
int getOverloadRejectedRequestsCount()
Number of requests rejected due to configured Shared Capacity for work managers have been reached.
int getStuckThreadCount()
Number of stuck threads in the thread pool.