[
https://issues.apache.org/jira/browse/DIRMINA-360?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Trustin Lee resolved DIRMINA-360.
---------------------------------
Resolution: Fixed
Assignee: Trustin Lee
The following methods have been added:
* void await() throws InterruptedException
* boolean await(long timeoutMillis) throws InterruptedException
* boolean await(long timeout, TimeUnit unit) throws InterruptedException
* void awaitUninterruptibly()
* boolean awaitUninterruptibly(long timeoutMillis)
* boolean awaitUninterruptibly(long timeout, TimeUnit unit)
Now, join() methods have been deprecated. Calling join() will simply redirect
you to awaitUninterruptibly().
> Provide interruptable wait methods in IoFuture.
> -----------------------------------------------
>
> Key: DIRMINA-360
> URL: https://issues.apache.org/jira/browse/DIRMINA-360
> Project: MINA
> Issue Type: New Feature
> Components: Core
> Reporter: Trustin Lee
> Assigned To: Trustin Lee
> Priority: Minor
> Fix For: 2.0.0-M1
>
>
> IoFuture.join() and IoFuture.join(long) are uninterruptable, that is, calling
> Thread.interrupt() won't make the call return immediately, which often causes
> unexpectedly delayed shutdown of a thread. As other classes in
> java.util.concurrent package provide both interruptable and uninterruptable
> wait methods, we need to provide both types of methods for IoFuture.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.