Javadoc
This commit is contained in:
parent
926fdcc7aa
commit
ee2ba2629e
@ -98,9 +98,12 @@ import org.jboss.netty.util.TimerTask;
|
|||||||
* ...
|
* ...
|
||||||
* bootstrap.setPipelineFactory(new MyPipelineFactory(timer));
|
* bootstrap.setPipelineFactory(new MyPipelineFactory(timer));
|
||||||
* ...
|
* ...
|
||||||
* // To shut down, call {@link #releaseExternalResources()} or {@link Timer#stop()}.
|
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
|
* The {@link Timer} which was specified when the {@link ReadTimeoutHandler} is
|
||||||
|
* created should be stopped manually by calling {@link #releaseExternalResources()}
|
||||||
|
* or {@link Timer#stop()} when your application shuts down.
|
||||||
|
*
|
||||||
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
|
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
|
||||||
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
|
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
|
||||||
* @version $Rev$, $Date$
|
* @version $Rev$, $Date$
|
||||||
|
@ -60,7 +60,11 @@ import org.jboss.netty.util.TimerTask;
|
|||||||
* ...
|
* ...
|
||||||
* bootstrap.setPipelineFactory(new MyPipelineFactory(timer));
|
* bootstrap.setPipelineFactory(new MyPipelineFactory(timer));
|
||||||
* ...
|
* ...
|
||||||
* // To shut down, call {@link #releaseExternalResources()} or {@link Timer#stop()}.
|
* </pre>
|
||||||
|
*
|
||||||
|
* The {@link Timer} which was specified when the {@link ReadTimeoutHandler} is
|
||||||
|
* created should be stopped manually by calling {@link #releaseExternalResources()}
|
||||||
|
* or {@link Timer#stop()} when your application shuts down.
|
||||||
*
|
*
|
||||||
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
|
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
|
||||||
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
|
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
|
||||||
|
@ -60,10 +60,12 @@ import org.jboss.netty.util.TimerTask;
|
|||||||
* {@link Timer} timer = new {@link HashedWheelTimer}();
|
* {@link Timer} timer = new {@link HashedWheelTimer}();
|
||||||
* ...
|
* ...
|
||||||
* bootstrap.setPipelineFactory(new MyPipelineFactory(timer));
|
* bootstrap.setPipelineFactory(new MyPipelineFactory(timer));
|
||||||
* ...
|
|
||||||
* // To shut down, call {@link #releaseExternalResources()} or {@link Timer#stop()}.
|
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
|
* The {@link Timer} which was specified when the {@link ReadTimeoutHandler} is
|
||||||
|
* created should be stopped manually by calling {@link #releaseExternalResources()}
|
||||||
|
* or {@link Timer#stop()} when your application shuts down.
|
||||||
|
*
|
||||||
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
|
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
|
||||||
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
|
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
|
||||||
* @version $Rev$, $Date$
|
* @version $Rev$, $Date$
|
||||||
|
Loading…
x
Reference in New Issue
Block a user