Interface DatabaseManagement

    • Method Detail

      • resetStatistics

        void resetStatistics()
        Reset all statistics counters on all hosts in the cluster to zero.

        It is safe running this method on your database. It just reset counters without any impact on performance.

        Specified by:
        resetStatistics in interface StatisticsAware
        See Also:
        StatisticsMaintenanceOnHost
      • getLastStatsResetTimestamp

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