[jbosscache-commits] JBoss Cache SVN: r6458 - core/trunk/src/main/java/org/jboss/cache/buddyreplication.
jbosscache-commits at lists.jboss.org
jbosscache-commits at lists.jboss.org
Thu Jul 31 05:18:06 EDT 2008
Author: manik.surtani at jboss.com
Date: 2008-07-31 05:18:06 -0400 (Thu, 31 Jul 2008)
New Revision: 6458
Modified:
core/trunk/src/main/java/org/jboss/cache/buddyreplication/BuddyManager.java
Log:
Allows use of exists when cache is not in started state
Modified: core/trunk/src/main/java/org/jboss/cache/buddyreplication/BuddyManager.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/buddyreplication/BuddyManager.java 2008-07-31 09:15:52 UTC (rev 6457)
+++ core/trunk/src/main/java/org/jboss/cache/buddyreplication/BuddyManager.java 2008-07-31 09:18:06 UTC (rev 6458)
@@ -261,6 +261,7 @@
}
@Start(priority = 20)
+ @SuppressWarnings("unchecked")
public void init() throws CacheException
{
setupInternals(configuration.getBuddyReplicationConfig());
@@ -294,6 +295,7 @@
broadcastBuddyPoolMembership();
+ cache.getInvocationContext().getOptionOverrides().setSkipCacheStatusCheck(true);
if (!cache.exists(BUDDY_BACKUP_SUBTREE_FQN))
{
// need to get the root DIRECTLY. cache.getRoot() will pass a call up the interceptor chain and we will
More information about the jbosscache-commits
mailing list