[jboss-cvs] JBossCache/src/org/jboss/cache/marshall ...
Manik Surtani
msurtani at jboss.com
Fri Sep 15 14:01:01 EDT 2006
User: msurtani
Date: 06/09/15 14:01:01
Modified: src/org/jboss/cache/marshall MethodDeclarations.java
Log:
- Added move() API
- Added more tests
Revision Changes Path
1.16 +9 -2 JBossCache/src/org/jboss/cache/marshall/MethodDeclarations.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: MethodDeclarations.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/marshall/MethodDeclarations.java,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -b -r1.15 -r1.16
--- MethodDeclarations.java 30 Aug 2006 17:08:18 -0000 1.15
+++ MethodDeclarations.java 15 Sep 2006 18:01:01 -0000 1.16
@@ -30,7 +30,7 @@
* allowing lookup operations both ways.
*
* @author <a href="galder.zamarreno at jboss.com">Galder Zamarreno</a>
- * @version $Revision: 1.15 $
+ * @version $Revision: 1.16 $
*/
public class MethodDeclarations
{
@@ -113,6 +113,8 @@
public static final Method dataGravitationMethod;
+ public static final Method moveMethodLocal;
+
//not all of these are used for RPC - trim accordingly.
public static final int putDataMethodLocal_id = 1;
@@ -185,6 +187,9 @@
public static final int dataGravitationMethod_id = 35;
+ public static final int moveMethodLocal_id = 36;
+
+
static
{
try
@@ -234,7 +239,8 @@
dataGravitationCleanupMethod = TreeCache.class.getDeclaredMethod("_dataGravitationCleanup", GlobalTransaction.class, Fqn.class, Fqn.class);
dataGravitationMethod = TreeCache.class.getDeclaredMethod("_gravitateData", Fqn.class, boolean.class, boolean.class);
-
+ // ------------ move() api
+ moveMethodLocal = TreeCache.class.getDeclaredMethod("_move", Fqn.class, Fqn.class);
}
catch (NoSuchMethodException ex)
{
@@ -288,6 +294,7 @@
putMethodIds.add(putDataMethodLocal_id);
putMethodIds.add(putDataEraseMethodLocal_id);
putMethodIds.add(putKeyValMethodLocal_id);
+ putMethodIds.add(moveMethodLocal_id);
crudMethodIds.addAll(putMethodIds);
crudMethodIds.add(removeNodeMethodLocal_id);
More information about the jboss-cvs-commits
mailing list