[jboss-cvs] JBossCache/tests/functional/org/jboss/cache/replicated ...
Manik Surtani
msurtani at jboss.com
Wed Jan 3 12:50:31 EST 2007
User: msurtani
Date: 07/01/03 12:50:31
Modified: tests/functional/org/jboss/cache/replicated
SyncReplTxTest.java SyncCacheListenerTest.java
Log:
added more rich nodeModified callback
Revision Changes Path
1.18 +13 -13 JBossCache/tests/functional/org/jboss/cache/replicated/SyncReplTxTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: SyncReplTxTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/replicated/SyncReplTxTest.java,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -b -r1.17 -r1.18
--- SyncReplTxTest.java 3 Jan 2007 04:03:48 -0000 1.17
+++ SyncReplTxTest.java 3 Jan 2007 17:50:31 -0000 1.18
@@ -41,7 +41,7 @@
* Note: we use DummyTransactionManager for Tx purpose instead of relying on
* jta.
*
- * @version $Revision: 1.17 $
+ * @version $Revision: 1.18 $
*/
public class SyncReplTxTest extends TestCase
{
@@ -117,7 +117,7 @@
* Provides a hook for multiplexer integration. This default implementation
* is a no-op; subclasses that test mux integration would override
* to integrate the given cache with a multiplexer.
- *
+ * <p/>
* param cache a cache that has been configured but not yet created.
*/
protected void configureMultiplexer(Cache cache) throws Exception
@@ -1237,7 +1237,7 @@
cache.getNotifier().addCacheListener(this);
}
- public void nodeModified(Fqn fqn, boolean pre, boolean isLocal, Map data)
+ public void nodeModified(Fqn fqn, boolean pre, boolean isLocal, ModificationType modType, Map data)
{
if (!pre)
{
@@ -1279,7 +1279,7 @@
callbackTM = callbackCache.getTransactionManager();
}
- public void nodeModified(Fqn fqn, boolean pre, boolean isLocal, Map data)
+ public void nodeModified(Fqn fqn, boolean pre, boolean isLocal, ModificationType modType, Map data)
{
if (!pre)
{
@@ -1293,7 +1293,7 @@
}
else
{
- super.nodeModified(fqn, pre, isLocal, data);
+ super.nodeModified(fqn, pre, isLocal, modType, data);
}
}
@@ -1321,7 +1321,7 @@
cache.getNotifier().addCacheListener(this);
}
- public void nodeModified(Fqn fqn, boolean pre, boolean isLocal, Map data)
+ public void nodeModified(Fqn fqn, boolean pre, boolean isLocal, ModificationType modType, Map data)
{
if (!pre)
{
1.13 +3 -3 JBossCache/tests/functional/org/jboss/cache/replicated/SyncCacheListenerTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: SyncCacheListenerTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/replicated/SyncCacheListenerTest.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -b -r1.12 -r1.13
--- SyncCacheListenerTest.java 30 Dec 2006 17:50:05 -0000 1.12
+++ SyncCacheListenerTest.java 3 Jan 2007 17:50:31 -0000 1.13
@@ -31,7 +31,7 @@
/**
* Test out the TreeCacheListener
*
- * @version $Revision: 1.12 $
+ * @version $Revision: 1.13 $
*/
public class SyncCacheListenerTest extends TestCase
{
@@ -219,7 +219,7 @@
}
- public void nodeModified(Fqn fqn, boolean pre, boolean isLocal, Map data)
+ public void nodeModified(Fqn fqn, boolean pre, boolean isLocal, ModificationType modType, Map data)
{
if (!pre)
{
@@ -249,7 +249,7 @@
assertFalse("node was removed on remote cache so isLocal should be false", isLocal);
}
- public void nodeModified(Fqn fqn, boolean isPre, boolean isLocal, Map data)
+ public void nodeModified(Fqn fqn, boolean isPre, boolean isLocal, ModificationType modType, Map data)
{
System.out.println("nodeModify visited with fqn: " + fqn + ", isPre: " + isPre + ", isLocal " + isLocal);
log_.debug("nodeModify visited with fqn: " + fqn + ", isPre: " + isPre + ", isLocal " + isLocal);
More information about the jboss-cvs-commits
mailing list