Package org.apache.cxf.io
Interface CachedOutputStreamCleaner
-
- All Known Implementing Classes:
DelayedCachedOutputStreamCleaner
public interface CachedOutputStreamCleanerTheBusextension to clean up unclosedCachedOutputStreaminstances (and alike) backed by temporary files (leading to disk fill, see https://issues.apache.org/jira/browse/CXF-7396.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voidclean()Run the clean upvoidregister(Closeable closeable)Unregister 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 Detail
-
clean
void clean()
Run the clean up
-
unregister
void unregister(Closeable closeable)
Register the stream instance for the clean up
-
register
void register(Closeable closeable)
Unregister the stream instance from the clean up (closed properly)
-
size
default 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
-
-