Package org.jboss.netty.util
Interface ExternalResourceReleasable
- All Known Subinterfaces:
ChannelFactory
,ClientSocketChannelFactory
,DatagramChannelFactory
,FileRegion
,LocalClientChannelFactory
,LocalServerChannelFactory
,ServerChannelFactory
,ServerSocketChannelFactory
- All Known Implementing Classes:
AbstractNioBossPool
,AbstractNioWorkerPool
,AbstractTrafficShapingHandler
,Bootstrap
,ChainedExecutor
,ChannelTrafficShapingHandler
,ClientBootstrap
,ConnectionlessBootstrap
,DefaultFileRegion
,DefaultLocalClientChannelFactory
,DefaultLocalServerChannelFactory
,EmbeddedChannelFactory
,ExecutionHandler
,GlobalChannelTrafficShapingHandler
,GlobalTrafficShapingHandler
,HttpTunnelingClientSocketChannelFactory
,IdleStateHandler
,NioClientBossPool
,NioClientSocketChannelFactory
,NioDatagramChannelFactory
,NioDatagramWorkerPool
,NioServerBossPool
,NioServerSocketChannelFactory
,NioWorkerPool
,OioClientSocketChannelFactory
,OioDatagramChannelFactory
,OioServerSocketChannelFactory
,ReadTimeoutHandler
,ServerBootstrap
,SocketReceiveBufferAllocator
,SocketSendBufferPool
,WriteTimeoutHandler
public interface ExternalResourceReleasable
A common interface for a class which depends on external resources that
need explicit release or shutdown.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Releases the external resources that this object depends on.
-
Method Details
-
releaseExternalResources
void releaseExternalResources()Releases the external resources that this object depends on. You should not call this method if the external resources (e.g. thread pool) are in use by other objects.
-