com.sun.enterprise.v3.services.impl.monitor.stats
Class ThreadPoolStatsProviderGlobal

java.lang.Object
  extended by com.sun.enterprise.v3.services.impl.monitor.stats.ThreadPoolStatsProvider
      extended by com.sun.enterprise.v3.services.impl.monitor.stats.ThreadPoolStatsProviderGlobal
All Implemented Interfaces:
StatsProvider

@AMXMetadata(type="thread-pool-mon",
             group="monitoring")
@ManagedObject
@Description(value="Thread Pool Statistics")
public class ThreadPoolStatsProviderGlobal
extends ThreadPoolStatsProvider

Server wide Thread Pool statistics

Author:
Amy Roh

Field Summary
 
Fields inherited from class com.sun.enterprise.v3.services.impl.monitor.stats.ThreadPoolStatsProvider
coreThreadsCount, currentThreadCount, currentThreadsBusy, maxThreadsCount, threadPoolConfig, totalExecutedTasksCount
 
Constructor Summary
ThreadPoolStatsProviderGlobal(String name)
           
 
Method Summary
 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)
           
 
Methods inherited from class com.sun.enterprise.v3.services.impl.monitor.stats.ThreadPoolStatsProvider
getCoreThreadsCount, getCurrentThreadCount, getCurrentThreadsBusy, getMaxThreadsCount, getStatsObject, getTotalExecutedTasksCount, reset, setStatsObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThreadPoolStatsProviderGlobal

public ThreadPoolStatsProviderGlobal(String name)
Method Detail

setMaxThreadsEvent

public void setMaxThreadsEvent(String monitoringId,
                               String threadPoolName,
                               int maxNumberOfThreads)
Overrides:
setMaxThreadsEvent in class ThreadPoolStatsProvider

setCoreThreadsEvent

public void setCoreThreadsEvent(String monitoringId,
                                String threadPoolName,
                                int coreNumberOfThreads)
Overrides:
setCoreThreadsEvent in class ThreadPoolStatsProvider

threadAllocatedEvent

public void threadAllocatedEvent(String monitoringId,
                                 String threadPoolName,
                                 long threadId)
Overrides:
threadAllocatedEvent in class ThreadPoolStatsProvider

threadReleasedEvent

public void threadReleasedEvent(String monitoringId,
                                String threadPoolName,
                                long threadId)
Overrides:
threadReleasedEvent in class ThreadPoolStatsProvider

threadDispatchedFromPoolEvent

public void threadDispatchedFromPoolEvent(String monitoringId,
                                          String threadPoolName,
                                          long threadId)
Overrides:
threadDispatchedFromPoolEvent in class ThreadPoolStatsProvider

threadReturnedToPoolEvent

public void threadReturnedToPoolEvent(String monitoringId,
                                      String threadPoolName,
                                      long threadId)
Overrides:
threadReturnedToPoolEvent in class ThreadPoolStatsProvider


Copyright © 2012. All Rights Reserved.