|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.alfresco.repo.content.caching.quota.UnlimitedQuotaStrategy
public class UnlimitedQuotaStrategy
QuotaManagerStrategy that doesn't enforce any quota limits whatsoever.
| Constructor Summary | |
|---|---|
UnlimitedQuotaStrategy()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UnlimitedQuotaStrategy()
| Method Detail |
|---|
public boolean beforeWritingCacheFile(long contentSize)
QuotaManagerStrategyIn the latter case, the contentSize will be unknown (0), since the content length hasn't been established yet.
beforeWritingCacheFile in interface QuotaManagerStrategycontentSize - The size of the content that will be written or 0 if not known.
public boolean afterWritingCacheFile(long contentSize)
QuotaManagerStrategy
afterWritingCacheFile in interface QuotaManagerStrategycontentSize - The size of the content that was written.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||