Class DBStatistics


  • public class DBStatistics
    extends Object
    This singleton class is used to keep statistics about the running db.
    Author:
    steve
    • Method Detail

      • getNumRecords

        public int getNumRecords()
        Returns the number of records in the database
        Returns:
        the number of records
      • setNumRecords

        public void setNumRecords​(int numRecords)
        Sets the number of records currently in the database
        Parameters:
        numRecords - The current number of records
      • getUptime

        public long getUptime()
        Returns the current uptime (in ms.) of the amsessiondb server
        Returns: