[jboss-user] [JBossCache] - Re: Getting InterruptedException while putting into tree cac
genman
do-not-reply at jboss.com
Tue Aug 7 17:21:13 EDT 2007
JBoss Cache uses the older Doug Lea concurrent library which throws InterruptedException from all lock methods if the thread was interrupted. The newer 1.5 concurrent methods mostly don't do this.
It's mostly done as a favor. If a thread is interrupted, typically the purpose of this interrupt is for timely shutdown of the thread.
Regarding the exception thrown, any method in Java can throw a RuntimeException, which is what is happening here.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4071744#4071744
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4071744
More information about the jboss-user
mailing list