|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface QuotaManagerStrategy
Disk quota managers for the CachingContentStore must implement this interface.
| 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. |
| Method Detail |
|---|
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.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||