org.alfresco.repo.content.caching.quota
Interface UsageTracker

All Known Implementing Classes:
StandardQuotaStrategy

public interface UsageTracker

Interface through which disk usage levels can be set and queried.


Method Summary
 long addUsageBytes(long sizeDelta)
           
 long getCurrentUsageBytes()
           
 void setCurrentUsageBytes(long newDiskUsage)
           
 

Method Detail

getCurrentUsageBytes

long getCurrentUsageBytes()

setCurrentUsageBytes

void setCurrentUsageBytes(long newDiskUsage)

addUsageBytes

long addUsageBytes(long sizeDelta)


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.