@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 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
protected ConnectionPoolInfo getConnectionPoolInfo()
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