@AMXMetadata(type="thread-pool-mon",
group="monitoring")
@ManagedObject
@Description(value="Thread Pool Statistics")
public class ThreadPoolStatsProviderGlobal
extends ThreadPoolStatsProvider
coreThreadsCount, currentThreadCount, currentThreadsBusy, maxThreadsCount, threadPoolConfig, totalExecutedTasksCount| Constructor and Description |
|---|
ThreadPoolStatsProviderGlobal(String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
setCoreThreadsEvent(String monitoringId,
String threadPoolName,
int coreNumberOfThreads) |
void |
setMaxThreadsEvent(String monitoringId,
String threadPoolName,
int maxNumberOfThreads) |
void |
threadAllocatedEvent(String monitoringId,
String threadPoolName,
long threadId) |
void |
threadDispatchedFromPoolEvent(String monitoringId,
String threadPoolName,
long threadId) |
void |
threadReleasedEvent(String monitoringId,
String threadPoolName,
long threadId) |
void |
threadReturnedToPoolEvent(String monitoringId,
String threadPoolName,
long threadId) |
getCoreThreadsCount, getCurrentThreadCount, getCurrentThreadsBusy, getMaxThreadsCount, getStatsObject, getTotalExecutedTasksCount, reset, setStatsObjectpublic ThreadPoolStatsProviderGlobal(String name)
public void setMaxThreadsEvent(String monitoringId, String threadPoolName, int maxNumberOfThreads)
setMaxThreadsEvent in class ThreadPoolStatsProviderpublic void setCoreThreadsEvent(String monitoringId, String threadPoolName, int coreNumberOfThreads)
setCoreThreadsEvent in class ThreadPoolStatsProviderpublic void threadAllocatedEvent(String monitoringId, String threadPoolName, long threadId)
threadAllocatedEvent in class ThreadPoolStatsProviderpublic void threadReleasedEvent(String monitoringId, String threadPoolName, long threadId)
threadReleasedEvent in class ThreadPoolStatsProviderpublic void threadDispatchedFromPoolEvent(String monitoringId, String threadPoolName, long threadId)
threadDispatchedFromPoolEvent in class ThreadPoolStatsProviderpublic void threadReturnedToPoolEvent(String monitoringId, String threadPoolName, long threadId)
threadReturnedToPoolEvent in class ThreadPoolStatsProviderCopyright © 2013. All Rights Reserved.