Skip navigation links

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

Part Number E55141-01
P4 Change 1723563 on 2015/10/09


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

Since:
9.0.0.0

Method Summary
abstract  long getCompletedRequestCount()
          The number of completed requests in the priority queue.
abstract  ExecuteThread getExecuteThread(String threadName)
          The execute thread with the given thread name.
abstract  int getExecuteThreadIdleCount()
          The number of idle threads in the pool.
abstract  ExecuteThread[] getExecuteThreads()
          An array of the threads currently processing work in the active thread pool.
abstract  int getExecuteThreadTotalCount()
          The total number of threads in the pool.
abstract  HealthState getHealthState()
          The health state of this pool.
abstract  int getHoggingThreadCount()
           The threads that are being held by a request right now.
abstract  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.
abstract  int getMinThreadsConstraintsPending()
          Number of requests that should be executed now to satisfy the min threads requirement.
abstract  int getOverloadRejectedRequestsCount()
          Number of requests rejected due to configured Shared Capacity for work managers have been reached.
abstract  int getPendingUserRequestCount()
          The number of pending user requests in the priority queue.
abstract  int getQueueLength()
          The number of pending requests in the priority queue.
abstract  int getSharedCapacityForWorkManagers()
          Maximum amount of requests that can be accepted in the priority queue.
abstract  int getStandbyThreadCount()
           The number of threads in the standby pool.
abstract  int getStuckThreadCount()
          Number of stuck threads in the thread pool.
abstract  double getThroughput()
          The mean number of requests completed per second.
abstract  boolean isSuspended()
          Indicates if the RequestManager is suspended.

 

Methods inherited from interface weblogic.management.runtime.RuntimeMBean
addPropertyChangeListener, removePropertyChangeListener

 

Methods inherited from interface weblogic.management.WebLogicMBean
getMBeanInfo, getName, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setName, 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.

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.

Since:
12.1.2.0.0

getStuckThreadCount

int getStuckThreadCount()

Number of stuck threads in the thread pool.

Since:
12.1.2.0.0

Skip navigation links

Copyright 1996, 2015, 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.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09