|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
A bit of javadoc patchIt's never enough. Regards, Tigran. [grizzly-javadoc.patch] Index: code/modules/grizzly/src/main/java/com/sun/grizzly/DefaultSelectionKeyHandler.java =================================================================== --- code/modules/grizzly/src/main/java/com/sun/grizzly/DefaultSelectionKeyHandler.java (revision 3774) +++ code/modules/grizzly/src/main/java/com/sun/grizzly/DefaultSelectionKeyHandler.java (working copy) @@ -222,7 +222,15 @@ return timeout; } - + /** + * Set expiration timeout for the {@link SelectionKey}. + * + * If during that defined timeout the client isn't pushing bytes + * (or closing the connection), the SelectionKey will be expired + * and its channel closed. + * + * @param timout in seconds + */ public void setTimeout(long timeout) { this.timeout = timeout; } --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@... For additional commands, e-mail: dev-help@... |
|
|
Re: A bit of javadoc patch (update)actually, I was going to send this one.
On 10/20/2009 09:18 PM, Tigran Mkrtchyan wrote: > > > It's never enough. > > Regards, > Tigran. > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@... > For additional commands, e-mail: dev-help@... [grizzly-javadoc.patch] Index: code/modules/grizzly/src/main/java/com/sun/grizzly/DefaultSelectionKeyHandler.java =================================================================== --- code/modules/grizzly/src/main/java/com/sun/grizzly/DefaultSelectionKeyHandler.java (revision 3774) +++ code/modules/grizzly/src/main/java/com/sun/grizzly/DefaultSelectionKeyHandler.java (working copy) @@ -222,7 +222,16 @@ return timeout; } - + /** + * Set expiration timeout for the {@link SelectionKey}. + * + * If during that defined timeout the client isn't pushing bytes + * (or closing the connection), the SelectionKey will be expired + * and its channel closed. The negative timeout value will let + * {@link SelectionKey} never expire. + * + * @param timout in seconds + */ public void setTimeout(long timeout) { this.timeout = timeout; } --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@... For additional commands, e-mail: dev-help@... |
|
|
Re: A bit of javadoc patch (update)OK I will apply it!
Thanks! - Jeanfrancois Tigran Mkrtchyan wrote: > actually, I was going to send this one. > > On 10/20/2009 09:18 PM, Tigran Mkrtchyan wrote: >> >> >> It's never enough. >> >> Regards, >> Tigran. >> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dev-unsubscribe@... >> For additional commands, e-mail: dev-help@... > > > ------------------------------------------------------------------------ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@... > For additional commands, e-mail: dev-help@... --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@... For additional commands, e-mail: dev-help@... |
| Free embeddable forum powered by Nabble | Forum Help |