Class DatabaseStatistics


  • public final class DatabaseStatistics
    extends Object
    A class that contains database statistics information.
    • Constructor Detail

      • DatabaseStatistics

        public DatabaseStatistics()
    • Method Detail

      • size

        public Float size()
        Get the size property: The database size - the total size of compressed data and index in bytes.
        Returns:
        the size value.
      • withSize

        public DatabaseStatistics withSize​(Float size)
        Set the size property: The database size - the total size of compressed data and index in bytes.
        Parameters:
        size - the size value to set.
        Returns:
        the DatabaseStatistics object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.