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 Object
Class 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.CountStatistic
getActiveThreads()
org.glassfish.external.statistics.CountStatistic
getCorePoolSize()
org.glassfish.external.statistics.CountStatistic
getKeepAlive()
org.glassfish.external.statistics.CountStatistic
getLargestPoolSize()
org.glassfish.external.statistics.CountStatistic
getMaxPoolSize()
org.glassfish.external.statistics.CountStatistic
getPoolSize()
org.glassfish.external.statistics.CountStatistic
getTasksCompleted()
org.glassfish.external.statistics.CountStatistic
getTasksCreated()
void
register()
void
unregister()
-
-
-
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()
-
-