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;