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