com.bradmcevoy.http.quota
Interface QuotaDataAccessor

All Known Implementing Classes:
DefaultQuotaDataAccessor

public interface QuotaDataAccessor

Encapsulates access to quota data. The default implementation just reads the properties from the resource, but other implementations might prefer to use an injected service.

Author:
brad

Method Summary
 java.lang.Long getQuotaAvailable(Resource r)
           
 java.lang.Long getQuotaUsed(Resource r)
           
 

Method Detail

getQuotaAvailable

java.lang.Long getQuotaAvailable(Resource r)

getQuotaUsed

java.lang.Long getQuotaUsed(Resource r)


Copyright © 2011. All Rights Reserved.