|Modifier and Type||Method and Description|
Called immediately after writing a cache file - specifying the size of the file that was written.
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 - 2010 Alfresco Software, Inc. All Rights Reserved.