Interface UsageTracker

  • All Known Implementing Classes:
    StandardQuotaStrategy

    public interface UsageTracker
    Interface through which disk usage levels can be set and queried.
    Author:
    Matt Ward
    • Method Detail

      • getCurrentUsageBytes

        long getCurrentUsageBytes()
      • setCurrentUsageBytes

        void setCurrentUsageBytes​(long newDiskUsage)
      • addUsageBytes

        long addUsageBytes​(long sizeDelta)