[hornetq-commits] JBoss hornetq SVN: r10132 - branches/Branch_2_2_EAP/src/main/org/hornetq/core/server/impl.

do-not-reply at jboss.org do-not-reply at jboss.org
Sat Jan 22 03:47:07 EST 2011


Author: ataylor
Date: 2011-01-22 03:47:07 -0500 (Sat, 22 Jan 2011)
New Revision: 10132

Modified:
   branches/Branch_2_2_EAP/src/main/org/hornetq/core/server/impl/FileLockNodeManager.java
Log:
https://issues.jboss.org/browse/JBPAPP-5781 - added check for interrupt so we can leave backup thread

Modified: branches/Branch_2_2_EAP/src/main/org/hornetq/core/server/impl/FileLockNodeManager.java
===================================================================
--- branches/Branch_2_2_EAP/src/main/org/hornetq/core/server/impl/FileLockNodeManager.java	2011-01-21 22:44:33 UTC (rev 10131)
+++ branches/Branch_2_2_EAP/src/main/org/hornetq/core/server/impl/FileLockNodeManager.java	2011-01-22 08:47:07 UTC (rev 10132)
@@ -332,6 +332,10 @@
                   //
                }
             }
+            if (Thread.currentThread().isInterrupted())
+            {
+               throw new IOException(new InterruptedException());
+            }
          }
          while(lock == null);
          return lock;



More information about the hornetq-commits mailing list