Interface Database.Statistics

Enclosing interface:
Database

public static interface Database.Statistics
Encapsulates basic database usage statistics.
  • Method Details

    • queriesPerSecond

      int queriesPerSecond()
      Returns:
      the number of queries being run per second
    • deletesPerSecond

      int deletesPerSecond()
      Returns:
      the number of delete queries being run per second
    • insertsPerSecond

      int insertsPerSecond()
      Returns:
      the number of insert queries being run per second
    • selectsPerSecond

      int selectsPerSecond()
      Returns:
      the number of select queries being run per second
    • updatesPerSecond

      int updatesPerSecond()
      Returns:
      the number of update queries being run per second
    • otherPerSecond

      int otherPerSecond()
      Returns:
      the number of queries, not falling under select, insert, update or delete, being run per second
    • timestamp

      long timestamp()
      Returns:
      the timestamp of these statistics