@Component(value="cuba_StatisticsCounterMBean") public class StatisticsCounter extends java.lang.Object implements StatisticsCounterMBean
Modifier and Type | Field and Description |
---|---|
protected MiddlewareStatisticsAccumulator |
accumulator |
protected boolean |
dbConnPoolNotFound |
protected javax.management.ObjectName |
dbConnPoolObjectName |
protected java.util.regex.Pattern |
DS_MBEAN_PATTERN |
Constructor and Description |
---|
StatisticsCounter() |
protected final java.util.regex.Pattern DS_MBEAN_PATTERN
@Inject protected MiddlewareStatisticsAccumulator accumulator
protected volatile javax.management.ObjectName dbConnPoolObjectName
protected volatile boolean dbConnPoolNotFound
public java.lang.Long getActiveTransactionsCount()
getActiveTransactionsCount
in interface StatisticsCounterMBean
public double getStartedTransactionsCount()
getStartedTransactionsCount
in interface StatisticsCounterMBean
public java.lang.Long getCommittedTransactionsCount()
getCommittedTransactionsCount
in interface StatisticsCounterMBean
public java.lang.Long getRolledBackTransactionsCount()
getRolledBackTransactionsCount
in interface StatisticsCounterMBean
public double getTransactionsPerSecond()
getTransactionsPerSecond
in interface StatisticsCounterMBean
public java.lang.Long getMiddlewareRequestsCount()
getMiddlewareRequestsCount
in interface StatisticsCounterMBean
public double getMiddlewareRequestsPerSecond()
getMiddlewareRequestsPerSecond
in interface StatisticsCounterMBean
public java.lang.Long getCubaScheduledTasksCount()
getCubaScheduledTasksCount
in interface StatisticsCounterMBean
public double getCubaScheduledTasksPerSecond()
getCubaScheduledTasksPerSecond
in interface StatisticsCounterMBean
public java.lang.Long getSpringScheduledTasksCount()
getSpringScheduledTasksCount
in interface StatisticsCounterMBean
public double getSpringScheduledTasksPerSecond()
getSpringScheduledTasksPerSecond
in interface StatisticsCounterMBean
public java.lang.Long getImplicitFlushCount()
getImplicitFlushCount
in interface StatisticsCounterMBean
public int getDbConnectionPoolNumActive()
getDbConnectionPoolNumActive
in interface StatisticsCounterMBean
public int getDbConnectionPoolNumIdle()
getDbConnectionPoolNumIdle
in interface StatisticsCounterMBean
public int getDbConnectionPoolMaxTotal()
getDbConnectionPoolMaxTotal
in interface StatisticsCounterMBean
public double getAvgDbConnectionPoolNumActive()
getAvgDbConnectionPoolNumActive
in interface StatisticsCounterMBean
public double getAvgDbConnectionPoolNumIdle()
getAvgDbConnectionPoolNumIdle
in interface StatisticsCounterMBean
public double getAvgActiveTransactions()
getAvgActiveTransactions
in interface StatisticsCounterMBean
public double getAvgUserSessions()
getAvgUserSessions
in interface StatisticsCounterMBean
public double getAvgHeapMemoryUsage()
getAvgHeapMemoryUsage
in interface StatisticsCounterMBean
public double getAvgNonHeapMemoryUsage()
getAvgNonHeapMemoryUsage
in interface StatisticsCounterMBean
public double getAvgFreePhysicalMemorySize()
getAvgFreePhysicalMemorySize
in interface StatisticsCounterMBean
public double getAvgFreeSwapSpaceSize()
getAvgFreeSwapSpaceSize
in interface StatisticsCounterMBean
public double getAvgSystemCpuLoad()
getAvgSystemCpuLoad
in interface StatisticsCounterMBean
public double getAvgProcessCpuLoad()
getAvgProcessCpuLoad
in interface StatisticsCounterMBean
public double getAvgThreadCount()
getAvgThreadCount
in interface StatisticsCounterMBean