public class UnlimitedQuotaStrategy extends Object implements QuotaManagerStrategy
Constructor and Description |
---|
UnlimitedQuotaStrategy() |
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.
|
public boolean beforeWritingCacheFile(long contentSize)
QuotaManagerStrategy
In the latter case, the contentSize will be unknown (0), since the content length hasn't been established yet.
beforeWritingCacheFile
in interface QuotaManagerStrategy
contentSize
- The size of the content that will be written or 0 if not known.public boolean afterWritingCacheFile(long contentSize)
QuotaManagerStrategy
afterWritingCacheFile
in interface QuotaManagerStrategy
contentSize
- The size of the content that was written.Copyright © 2005–2017 Alfresco Software. All rights reserved.