org.jboss.netty.util
接口 ExternalResourceReleasable

所有已知子接口:
ChannelFactory, ClientSocketChannelFactory, DatagramChannelFactory, FileRegion, LocalClientChannelFactory, LocalServerChannelFactory, ServerChannelFactory, ServerSocketChannelFactory
所有已知实现类:
Bootstrap, ClientBootstrap, ConnectionlessBootstrap, DefaultFileRegion, DefaultLocalClientChannelFactory, DefaultLocalServerChannelFactory, ExecutionHandler, HttpTunnelingClientSocketChannelFactory, IdleStateHandler, NioClientSocketChannelFactory, NioDatagramChannelFactory, NioServerSocketChannelFactory, OioClientSocketChannelFactory, OioDatagramChannelFactory, OioServerSocketChannelFactory, ReadTimeoutHandler, ServerBootstrap, WriteTimeoutHandler

public interface ExternalResourceReleasable

为一个外部资源需要明确释放或关闭的类提供通用接口.


方法摘要
 void releaseExternalResources()
          释放该对象依赖的外部资源.如果其他对象正在使用这些外部资源(如.线程池),千万不要调用该方法.
 

方法详细信息

releaseExternalResources

void releaseExternalResources()
释放该对象依赖的外部资源.如果其他对象正在使用这些外部资源(如.线程池),千万不要调用该方法.