CachedOutputStreamCleaner (Apache CXF JavaDoc 4.1.0-SNAPSHOT API)
Description: declaration: package: org.apache.cxf.io, interface: CachedOutputStreamCleaner

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 Summary

  Modifier and Type
  Method
  Description
  `void`
  `clean()`
  Run the clean up
  `void`
  `register(Closeable closeable)`
  Unregister the stream instance from the clean up (closed properly)
  `void`
  `unregister(Closeable closeable)`
  Register the stream instance for the clean up

- ## Method Details

  - ### 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)