public interface QuotaManagerStrategy
Modifier and Type | Method and Description |
---|---|
boolean |
afterWritingCacheFile(long contentSize)
Called immediately after writing a cache file - specifying the size of the file that was written.
|
boolean |
beforeWritingCacheFile(long contentSize)
Called immediately before writing a cache file or (when cacheOnInBound is set to true
for the CachingContentStore) before handing a ContentWriter to a content producer.
|
boolean beforeWritingCacheFile(long contentSize)
In the latter case, the contentSize will be unknown (0), since the content length hasn't been established yet.
contentSize
- The size of the content that will be written or 0 if not known.boolean afterWritingCacheFile(long contentSize)
contentSize
- The size of the content that was written.Copyright © 2005–2017 Alfresco Software. All rights reserved.