Interface DatabaseManagement
-
- All Superinterfaces:
StatisticsAware
- All Known Implementing Classes:
DatabaseManagementImpl
public interface DatabaseManagement extends StatisticsAware
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Optional<java.time.OffsetDateTime>getLastStatsResetTimestamp()Gets time at which database statistics were last reset on the primary host.voidresetStatistics()Reset all statistics counters on all hosts in the cluster to zero.
-
-
-
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:
resetStatisticsin interfaceStatisticsAware- 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:
getLastStatsResetTimestampin interfaceStatisticsAware- Returns:
Optionalof null or time at which database statistics were last reset.
-
-