Class BoneCPDatabaseInfoResource
java.lang.Object
org.forgerock.openidm.info.health.api.BoneCPDatabaseInfoResource
Api POJO for
DatabaseInfoResourceProvider-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoubleReturns Cache Hit/Miss RatiointReturns Count of hits on the cache.intReturns Count of cache misses.intReturns Count of connections requested.longReturns Connection wait time average.longReturns Sum of time waiting for connections.longReturns Sum of time executing statements.longReturns Sum of time spent preparing statements.longReturns Statement Execution time average.longReturns Statement Prepare time average.intReturns Count of statements cached.intReturns Count of statements executed.intReturns Count of statements prepared.intReturns Total Created Connections.intReturns Total Free Connections.intReturns Total leased connections.
-
Constructor Details
-
BoneCPDatabaseInfoResource
public BoneCPDatabaseInfoResource()
-
-
Method Details
-
getConnectionWaitTimeAvg
public long getConnectionWaitTimeAvg()Returns Connection wait time average.- Returns:
- Connection wait time average.
-
getStatementExecuteTimeAvg
public long getStatementExecuteTimeAvg()Returns Statement Execution time average.- Returns:
- Statement Execution time average.
-
getStatementPrepareTimeAvg
public long getStatementPrepareTimeAvg()Returns Statement Prepare time average.- Returns:
- Statement Prepare time average.
-
getTotalLeasedConnections
public int getTotalLeasedConnections()Returns Total leased connections.- Returns:
- Total leased connections.
-
getTotalFreeConnections
public int getTotalFreeConnections()Returns Total Free Connections.- Returns:
- Total Free Connections.
-
getTotalCreatedConnections
public int getTotalCreatedConnections()Returns Total Created Connections.- Returns:
- Total Created Connections.
-
getCacheHits
public int getCacheHits()Returns Count of hits on the cache.- Returns:
- Count of hits on the cache.
-
getCacheMiss
public int getCacheMiss()Returns Count of cache misses.- Returns:
- Count of cache misses.
-
getStatementsCached
public int getStatementsCached()Returns Count of statements cached.- Returns:
- Count of statements cached.
-
getStatementsPrepared
public int getStatementsPrepared()Returns Count of statements prepared.- Returns:
- Count of statements prepared.
-
getConnectionsRequested
public int getConnectionsRequested()Returns Count of connections requested.- Returns:
- Count of connections requested.
-
getCumulativeConnectionWaitTime
public long getCumulativeConnectionWaitTime()Returns Sum of time waiting for connections.- Returns:
- Sum of time waiting for connections.
-
getCumulativeStatementExecutionTime
public long getCumulativeStatementExecutionTime()Returns Sum of time executing statements.- Returns:
- Sum of time executing statements.
-
getCumulativeStatementPrepareTime
public long getCumulativeStatementPrepareTime()Returns Sum of time spent preparing statements.- Returns:
- Sum of time spent preparing statements.
-
getCacheHitRatio
public double getCacheHitRatio()Returns Cache Hit/Miss Ratio- Returns:
- Cache Hit/Miss Ratio
-
getStatementsExecuted
public int getStatementsExecuted()Returns Count of statements executed.- Returns:
- Count of statements executed.
-