[jboss-cvs] JBossCache/src/org/jboss/cache/buddyreplication ...
Manik Surtani
manik at jboss.org
Tue May 29 06:26:33 EDT 2007
User: msurtani
Date: 07/05/29 06:26:33
Modified: src/org/jboss/cache/buddyreplication BuddyManager.java
Log:
Fixed breaking UTs
Revision Changes Path
1.77 +3 -1 JBossCache/src/org/jboss/cache/buddyreplication/BuddyManager.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: BuddyManager.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/buddyreplication/BuddyManager.java,v
retrieving revision 1.76
retrieving revision 1.77
diff -u -b -r1.76 -r1.77
--- BuddyManager.java 27 May 2007 15:21:55 -0000 1.76
+++ BuddyManager.java 29 May 2007 10:26:32 -0000 1.77
@@ -221,12 +221,14 @@
initialisationLatch.countDown();
// register a CacheImpl Listener to reassign buddies as and when view changes occur
- cache.getNotifier().addCacheListener(new AbstractCacheListener()
+ cache.addCacheListener(new AbstractCacheListener()
{
private Vector<Address> oldMembers;
public void viewChange(View newView)
{
+ if (log.isTraceEnabled())
+ log.trace("BuddyManager CacheListener - got view change with new view " + newView);
Vector<Address> newMembers = newView.getMembers();
// the whole 'oldMembers' concept is only used for buddy pool announcements.
More information about the jboss-cvs-commits
mailing list