Author: manik.surtani(a)jboss.com
Date: 2008-06-25 09:24:47 -0400 (Wed, 25 Jun 2008)
New Revision: 6029
Modified:
core/trunk/src/main/java/org/jboss/cache/RegionManager.java
Log:
Catch interruptedException
Modified: core/trunk/src/main/java/org/jboss/cache/RegionManager.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/RegionManager.java 2008-06-25 13:23:13 UTC
(rev 6028)
+++ core/trunk/src/main/java/org/jboss/cache/RegionManager.java 2008-06-25 13:24:47 UTC
(rev 6029)
@@ -6,15 +6,28 @@
import static org.jboss.cache.Region.Type.*;
import org.jboss.cache.buddyreplication.BuddyFqnTransformer;
import org.jboss.cache.buddyreplication.BuddyManager;
-import org.jboss.cache.config.*;
+import org.jboss.cache.config.Configuration;
+import org.jboss.cache.config.ConfigurationException;
+import org.jboss.cache.config.EvictionConfig;
+import org.jboss.cache.config.EvictionPolicyConfig;
+import org.jboss.cache.config.EvictionRegionConfig;
import org.jboss.cache.eviction.EvictionTimerTask;
import org.jboss.cache.eviction.RegionNameConflictException;
-import org.jboss.cache.factories.annotations.*;
+import org.jboss.cache.factories.annotations.Destroy;
+import org.jboss.cache.factories.annotations.Inject;
+import org.jboss.cache.factories.annotations.NonVolatile;
+import org.jboss.cache.factories.annotations.Start;
+import org.jboss.cache.factories.annotations.Stop;
import org.jboss.cache.lock.LockManager;
import static org.jboss.cache.lock.LockType.WRITE;
import org.jgroups.Address;
-import java.util.*;
+import java.util.ArrayList;
+import java.util.Collections;
+import java.util.HashSet;
+import java.util.List;
+import java.util.Map;
+import java.util.Set;
import java.util.concurrent.ConcurrentHashMap;
/**
@@ -602,6 +615,10 @@
}
}
}
+ catch (InterruptedException e)
+ {
+ throw new CacheException(e);
+ }
finally
{
// If we didn't succeed, undo the marshalling change
Show replies by date