|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface StatisticsMBean
MBean (JMX) contract.
| Method Summary | |
|---|---|
double |
getCacheHitRatio()
Returns the cache hit ratio calculated as hits/(hits+misses). |
long |
getCacheHits()
Returns the cacheHits field. |
long |
getCacheMiss()
Returns the cacheMiss field. |
long |
getConnectionsRequested()
Returns the connectionsRequested field. |
double |
getConnectionWaitTimeAvg()
Return the average time it takes for a getConnection request to be services (in ms). |
long |
getCumulativeConnectionWaitTime()
Returns the total time that the application waited in order to obtain its connections (in ms). |
long |
getCumulativeStatementExecutionTime()
Returns the time taken for the prepared statements to execute (in ms). |
long |
getCumulativeStatementPrepareTime()
Returns the time taken to prepare statements (or obtain from cache) (in ms). |
double |
getStatementExecuteTimeAvg()
Return the average execution time for prepared statements to execute (in ms). |
double |
getStatementPrepareTimeAvg()
Return the statement prepare time average (in ms). |
long |
getStatementsCached()
Returns the number of statements that have been cached. |
long |
getStatementsExecuted()
Returns the number of statements that have been executed. |
long |
getStatementsPrepared()
Returns the number of statements prepared. |
int |
getTotalCreatedConnections()
Return total number of connections created in all partitions. |
int |
getTotalFree()
Return the number of free connections available to an application right away (excluding connections that can be created dynamically) |
int |
getTotalLeased()
Return total number of connections currently in use by an application |
void |
resetStats()
Reset all statistics. |
| Method Detail |
|---|
double getConnectionWaitTimeAvg()
double getStatementExecuteTimeAvg()
double getStatementPrepareTimeAvg()
int getTotalLeased()
int getTotalFree()
int getTotalCreatedConnections()
long getCacheHits()
long getCacheMiss()
long getStatementsCached()
long getStatementsPrepared()
long getConnectionsRequested()
long getCumulativeConnectionWaitTime()
long getCumulativeStatementExecutionTime()
long getCumulativeStatementPrepareTime()
void resetStats()
double getCacheHitRatio()
long getStatementsExecuted()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||