public final class DelayedCachedOutputStreamCleaner extends Object implements CachedOutputStreamCleaner, BusLifeCycleListener
Constructor and Description |
---|
DelayedCachedOutputStreamCleaner() |
Modifier and Type | Method and Description |
---|---|
void |
clean()
Run the clean up
|
void |
forceClean() |
void |
initComplete()
Invoked when the
Bus has been initialized. |
void |
postShutdown()
Invoked after the
Bus is shutdown. |
void |
preShutdown()
Invoked before the
Bus is shutdown. |
void |
register(Closeable closeable)
Unregister the stream instance from the clean up (closed properly)
|
void |
setBus(Bus bus) |
int |
size()
The exact or approximate (depending on the implementation) size of the cleaner queue
|
void |
unregister(Closeable closeable)
Register the stream instance for the clean up
|
public void setBus(Bus bus)
public void register(Closeable closeable)
CachedOutputStreamCleaner
register
in interface CachedOutputStreamCleaner
public void unregister(Closeable closeable)
CachedOutputStreamCleaner
unregister
in interface CachedOutputStreamCleaner
public int size()
CachedOutputStreamCleaner
size
in interface CachedOutputStreamCleaner
public void clean()
CachedOutputStreamCleaner
clean
in interface CachedOutputStreamCleaner
public void initComplete()
BusLifeCycleListener
Bus
has been initialized.initComplete
in interface BusLifeCycleListener
public void postShutdown()
BusLifeCycleListener
Bus
is shutdown.postShutdown
in interface BusLifeCycleListener
public void preShutdown()
BusLifeCycleListener
Bus
is shutdown.preShutdown
in interface BusLifeCycleListener
public void forceClean()
Apache CXF