javax.management.DynamicMBean, javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, RuntimeMBean, WebLogicMBeanManagedScheduledExecutorServiceRuntimeMBeanpublic interface ManagedExecutorServiceRuntimeMBean extends RuntimeMBean
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
getApplicationName() |
Get the name of the application this ManagedExecutor is associated with
|
long |
getCompletedLongRunningRequests() |
Total number of long running tasks which is successfully completed.
|
long |
getCompletedShortRunningRequests() |
Total number of short running tasks which is successfully completed.
|
long |
getFailedRequests() |
Total number of tasks which terminated abnormally by throwing exception,
including both long and short term tasks.
|
long |
getHungTasks() |
Number of currently hung tasks that exceeded hung-task-threshold
and have not yet completed.
|
java.lang.String |
getModuleName() |
Get the name of the module this ManagedExecutor is associated with
|
java.lang.String |
getPartitionName() |
Get the name of the partition this ManagedExecutor is associated with
|
long |
getRejectedLongRunningRequests() |
Total number of long running tasks rejected by
max-concurrent-long-running-requests
|
long |
getRejectedShortRunningRequests() |
Total number of short running tasks rejected by workmanager overload
policy
|
long |
getRunningLongRunningRequests() |
Total number of long running tasks which is currently running.
|
long |
getSubmitedShortRunningRequests() |
Total number of submitted short running tasks
|
long |
getSubmittedLongRunningRequests() |
Total number of submitted long running tasks
|
WorkManagerRuntimeMBean |
getWorkManager() |
Runtime information on the associated WorkManager.
|
boolean |
isUseVirtualThreads() |
Whether non-long-running tasks for this ManagedExecutorService are using
virtual threads.
|
getAttribute, getAttributes, invoke, setAttribute, setAttributespostDeregister, postRegister, preRegisteraddNotificationListener, getNotificationInfo, removeNotificationListeneraddPropertyChangeListener, removePropertyChangeListenergetMBeanInfo, getName, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setName, setParentjava.lang.String getPartitionName()
Get the name of the partition this ManagedExecutor is associated with
java.lang.String getApplicationName()
Get the name of the application this ManagedExecutor is associated with
java.lang.String getModuleName()
Get the name of the module this ManagedExecutor is associated with
long getRunningLongRunningRequests()
long getCompletedShortRunningRequests()
long getCompletedLongRunningRequests()
long getSubmitedShortRunningRequests()
long getSubmittedLongRunningRequests()
long getRejectedShortRunningRequests()
long getRejectedLongRunningRequests()
long getFailedRequests()
long getHungTasks()
WorkManagerRuntimeMBean getWorkManager()
boolean isUseVirtualThreads()
Non-long-running tasks are dispatched to the underlying WorkManager, so their thread type is determined by that WorkManager configuration. To control this for annotation-created executors, configure ManagedExecutorServiceTemplateMBean to dispatch to a WorkManager with the desired thread type. Long-running tasks still follow the ManagedExecutorDefinition virtual element configuration.