@AMXMetadata(type="thread-pool-mon",
group="monitoring")
@ManagedObject
@Description(value="Thread Pool Statistics")
public class ThreadPoolStatsProviderGlobal
extends ThreadPoolStatsProvider
coreThreadsCount, currentThreadCount, currentThreadsBusy, maxThreadsCount, threadPoolConfig, threadPoolNames, totalExecutedTasksCount| Constructor and Description |
|---|
ThreadPoolStatsProviderGlobal(String name) |
| Modifier and Type | Method and Description |
|---|---|
org.glassfish.external.statistics.CountStatistic |
getCurrentThreadCount() |
void |
reset() |
void |
setCoreThreadsEvent(String monitoringId,
int coreNumberOfThreads) |
void |
setMaxThreadsEvent(String monitoringId,
int maxNumberOfThreads) |
void |
subtractBusyThreads(long busyThreads) |
void |
threadDispatchedFromPoolEvent(String monitoringId,
long threadId) |
void |
threadReturnedToPoolEvent(String monitoringId,
long threadId) |
getCoreThreadsCount, getCurrentThreadsBusy, getMaxThreadsCount, getStatsObject, getTotalExecutedTasksCount, setStatsObject, unregisterThreadPoolpublic ThreadPoolStatsProviderGlobal(String name)
@ManagedAttribute(id="currentthreadcount") @Description(value="Provides the number of request processing threads currently in the listener thread pool") public org.glassfish.external.statistics.CountStatistic getCurrentThreadCount()
getCurrentThreadCount in class ThreadPoolStatsProviderpublic void setMaxThreadsEvent(String monitoringId, int maxNumberOfThreads)
setMaxThreadsEvent in class ThreadPoolStatsProviderpublic void setCoreThreadsEvent(String monitoringId, int coreNumberOfThreads)
setCoreThreadsEvent in class ThreadPoolStatsProviderpublic void threadDispatchedFromPoolEvent(String monitoringId, long threadId)
threadDispatchedFromPoolEvent in class ThreadPoolStatsProviderpublic void threadReturnedToPoolEvent(String monitoringId, long threadId)
threadReturnedToPoolEvent in class ThreadPoolStatsProviderpublic void subtractBusyThreads(long busyThreads)
public void reset()
reset in class ThreadPoolStatsProviderCopyright © 2017. All rights reserved.