Package org.apache.cxf.io
Interface CachedOutputStreamCleaner
- All Known Implementing Classes:
- DelayedCachedOutputStreamCleaner
public interface CachedOutputStreamCleaner
The 
Bus extension to clean up unclosed CachedOutputStream instances (and alike) backed by
 temporary files (leading to disk fill, see https://issues.apache.org/jira/browse/CXF-7396.- 
Method SummaryModifier and TypeMethodDescriptionvoidclean()Run the clean upvoidUnregister the stream instance from the clean up (closed properly)default intsize()The exact or approximate (depending on the implementation) size of the cleaner queuevoidunregister(Closeable closeable) Register the stream instance for the clean up
- 
Method Details- 
cleanvoid clean()Run the clean up
- 
unregisterRegister the stream instance for the clean up
- 
registerUnregister the stream instance from the clean up (closed properly)
- 
sizedefault int size()The exact or approximate (depending on the implementation) size of the cleaner queue- Returns:
- exact or approximate (depending on the implementation) size of the cleaner queue
 
 
-