Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.3)

Part Number E41849-02

weblogic.management.runtime
Interface ThreadPoolRuntimeMBean

All Superinterfaces:
DynamicMBean, HealthFeedback, MBeanRegistration, NotificationBroadcaster, RuntimeMBean, WebLogicMBean

public interface ThreadPoolRuntimeMBean
extends RuntimeMBean, HealthFeedback

This bean is used to monitor the self-tuning queue


Method Summary
 long getCompletedRequestCount()
          The number of completed requests in the priority queue.
 ExecuteThread getExecuteThread(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.
 
Methods inherited from interface weblogic.management.WebLogicMBean
getMBeanInfo, getName, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setParent
 
Methods inherited from interface javax.management.DynamicMBean
getAttribute, getAttributes, invoke, setAttribute, setAttributes
 
Methods inherited from interface javax.management.MBeanRegistration
postDeregister, postRegister, preDeregister, preRegister
 
Methods inherited from interface javax.management.NotificationBroadcaster
addNotificationListener, getNotificationInfo, removeNotificationListener
 

Method Detail

getExecuteThreads

ExecuteThread[] getExecuteThreads()

An array of the threads currently processing work in the active thread pool.

See Also:
ExecuteThread

getExecuteThread

ExecuteThread getExecuteThread(String threadName)
The execute thread with the given thread name.

All security roles can access this item.

getExecuteThreadTotalCount

int getExecuteThreadTotalCount()

The total number of threads in the pool.


getExecuteThreadIdleCount

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


getQueueLength

int getQueueLength()

The number of pending requests in the priority queue. This is the total of internal system requests and user requests.


getPendingUserRequestCount

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.


getSharedCapacityForWorkManagers

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.


getCompletedRequestCount

long getCompletedRequestCount()

The number of completed requests in the priority queue.


getHoggingThreadCount

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.


getStandbyThreadCount

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.


getThroughput

double getThroughput()

The mean number of requests completed per second.


getMinThreadsConstraintsPending

int getMinThreadsConstraintsPending()

Number of requests that should be executed now to satisfy the min threads requirement.


getMinThreadsConstraintsCompleted

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.


isSuspended

boolean isSuspended()

Indicates if the RequestManager is suspended. A suspended manager will not dequeue work and dispatch threads till it is resumed.


getHealthState

HealthState getHealthState()

The health state of this pool.

Specified by:
getHealthState in interface HealthFeedback

getOverloadRejectedRequestsCount

int getOverloadRejectedRequestsCount()

Number of requests rejected due to configured Shared Capacity for work managers have been reached.


getStuckThreadCount

int getStuckThreadCount()

Number of stuck threads in the thread pool.


Copyright 1996, 2014, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.3)

Part Number E41849-02