Package com.sun.ejb.monitoring.stats
Class EjbThreadPoolExecutorStatsProvider
- java.lang.Object
-
- com.sun.ejb.monitoring.stats.EjbThreadPoolExecutorStatsProvider
-
@AMXMetadata(type="exec-pool-mon", group="monitoring", isSingleton=false) @ManagedObject @Description("ThreadPoolExecutor Statistics") public class EjbThreadPoolExecutorStatsProvider extends ObjectClass that provides monitoring stats for the ThreadPoolExecutor- Author:
- Andrew Pielage
-
-
Constructor Summary
Constructors Constructor Description EjbThreadPoolExecutorStatsProvider(String poolName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.glassfish.external.statistics.CountStatisticgetActiveThreads()org.glassfish.external.statistics.CountStatisticgetCorePoolSize()org.glassfish.external.statistics.CountStatisticgetKeepAlive()org.glassfish.external.statistics.CountStatisticgetLargestPoolSize()org.glassfish.external.statistics.CountStatisticgetMaxPoolSize()org.glassfish.external.statistics.CountStatisticgetPoolSize()org.glassfish.external.statistics.CountStatisticgetTasksCompleted()org.glassfish.external.statistics.CountStatisticgetTasksCreated()voidregister()voidunregister()
-
-
-
Constructor Detail
-
EjbThreadPoolExecutorStatsProvider
public EjbThreadPoolExecutorStatsProvider(String poolName)
-
-
Method Detail
-
register
public void register()
-
unregister
public void unregister()
-
getActiveThreads
@ManagedAttribute(id="activenumthreads") @Description("Number of active threads in the associated pool") public org.glassfish.external.statistics.CountStatistic getActiveThreads()
-
getTasksCompleted
@ManagedAttribute(id="numtaskscompleted") @Description("Number of tasks completed in the associated pool") public org.glassfish.external.statistics.CountStatistic getTasksCompleted()
-
getCorePoolSize
@ManagedAttribute(id="corenumthreads") @Description("Core number of threads in the associated pool") public org.glassfish.external.statistics.CountStatistic getCorePoolSize()
-
getKeepAlive
@ManagedAttribute(id="keepalivetime") @Description("Keep-Alive time for threads in the associated pool") public org.glassfish.external.statistics.CountStatistic getKeepAlive()
-
getLargestPoolSize
@ManagedAttribute(id="largestnumthreads") @Description("Largest number of simultaneous threads in the associated pool") public org.glassfish.external.statistics.CountStatistic getLargestPoolSize()
-
getMaxPoolSize
@ManagedAttribute(id="maxnumthreads") @Description("Maximum number of threads in the associated pool") public org.glassfish.external.statistics.CountStatistic getMaxPoolSize()
-
getPoolSize
@ManagedAttribute(id="numthreads") @Description("Current number of threads in the associated pool") public org.glassfish.external.statistics.CountStatistic getPoolSize()
-
getTasksCreated
@ManagedAttribute(id="totaltaskscreated") @Description("Number of tasks created in the associated pool") public org.glassfish.external.statistics.CountStatistic getTasksCreated()
-
-