Class BoneCPDatabaseInfoResource

java.lang.Object
org.forgerock.openidm.info.health.api.BoneCPDatabaseInfoResource

public class BoneCPDatabaseInfoResource extends Object
  • 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.