Class NettyChannelBufferStreamCacheOnCompletion
java.lang.Object
org.apache.camel.support.SynchronizationAdapter
org.apache.camel.component.netty.http.NettyChannelBufferStreamCacheOnCompletion
- All Implemented Interfaces:
org.apache.camel.Ordered
,org.apache.camel.spi.Synchronization
,org.apache.camel.spi.SynchronizationVetoable
public class NettyChannelBufferStreamCacheOnCompletion
extends org.apache.camel.support.SynchronizationAdapter
A
Synchronization
to handle the lifecycle of the NettyChannelBufferStreamCache
so the cache is released when the unit of work of the Exchange is done.-
Field Summary
Fields inherited from interface org.apache.camel.Ordered
HIGHEST, LOWEST
-
Constructor Summary
ConstructorDescription -
Method Summary
Methods inherited from class org.apache.camel.support.SynchronizationAdapter
allowHandover, beforeHandover, getOrder, onComplete, onFailure
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.camel.spi.Synchronization
getRouteSynchronization
-
Constructor Details
-
NettyChannelBufferStreamCacheOnCompletion
-
-
Method Details
-
onDone
public void onDone(org.apache.camel.Exchange exchange) - Overrides:
onDone
in classorg.apache.camel.support.SynchronizationAdapter
-