Interface StatisticsMaintenanceOnHost

    • Method Detail

      • resetStatistics

        void resetStatistics()
        Resets all statistics counters for the current database on current host to zero. For more information, see https://www.postgresql.org/docs/current/monitoring-stats.html
        Specified by:
        resetStatistics in interface StatisticsAware
      • getLastStatsResetTimestamp

        @Nonnull
        java.util.Optional<java.time.OffsetDateTime> getLastStatsResetTimestamp()
        Gets time at which database statistics were last reset on current host.
        Specified by:
        getLastStatsResetTimestamp in interface StatisticsAware
        Returns:
        Optional of null or time at which database statistics were last reset.