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 Summary
Modifier and TypeMethodDescriptionlongaddUsageBytes(long sizeDelta) longvoidsetCurrentUsageBytes(long newDiskUsage)
-
Method Details
-
getCurrentUsageBytes
long getCurrentUsageBytes() -
setCurrentUsageBytes
void setCurrentUsageBytes(long newDiskUsage) -
addUsageBytes
long addUsageBytes(long sizeDelta)
-