@AMXMetadata(type="exec-pool-mon", group="monitoring", isSingleton=false) @ManagedObject @Description(value="ThreadPoolExecutor Statistics") public class EjbThreadPoolExecutorStatsProvider extends Object
Constructor and Description |
---|
EjbThreadPoolExecutorStatsProvider(String poolName) |
Modifier and Type | Method and 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() |
public EjbThreadPoolExecutorStatsProvider(String poolName)
public void register()
public void unregister()
@ManagedAttribute(id="activenumthreads") @Description(value="Number of active threads in the associated pool") public org.glassfish.external.statistics.CountStatistic getActiveThreads()
@ManagedAttribute(id="numtaskscompleted") @Description(value="Number of tasks completed in the associated pool") public org.glassfish.external.statistics.CountStatistic getTasksCompleted()
@ManagedAttribute(id="corenumthreads") @Description(value="Core number of threads in the associated pool") public org.glassfish.external.statistics.CountStatistic getCorePoolSize()
@ManagedAttribute(id="keepalivetime") @Description(value="Keep-Alive time for threads in the associated pool") public org.glassfish.external.statistics.CountStatistic getKeepAlive()
@ManagedAttribute(id="largestnumthreads") @Description(value="Largest number of simultaneous threads in the associated pool") public org.glassfish.external.statistics.CountStatistic getLargestPoolSize()
@ManagedAttribute(id="maxnumthreads") @Description(value="Maximum number of threads in the associated pool") public org.glassfish.external.statistics.CountStatistic getMaxPoolSize()
@ManagedAttribute(id="numthreads") @Description(value="Current number of threads in the associated pool") public org.glassfish.external.statistics.CountStatistic getPoolSize()
@ManagedAttribute(id="totaltaskscreated") @Description(value="Number of tasks created in the associated pool") public org.glassfish.external.statistics.CountStatistic getTasksCreated()
Copyright © 2018. All rights reserved.