Interface ServerUsageStatsCollector

    • Method Detail

      • collectData

        @NotNull
        ServerUsageStatsCollector.ServerUsageStats collectData​(long since,
                                                               long till)
        Parameters:
        since - Start of required range
        till - End of required range
        Returns:
        Server usage data stored in the DB for the provided range. Doesn't include current (not saved) value.
      • persistAll

        void persistAll​(long timestamp)
        Persist all current data to the DB with provided timestamp
        Parameters:
        timestamp -
      • ignoreAll

        void ignoreAll​(long timestamp)
        Reset all current data (saves zeroes to the DB)
        Parameters:
        timestamp -