[jboss-cvs] JBossCache/src/org/jboss/cache/marshall ...

Manik Surtani manik at jboss.org
Mon Mar 19 15:03:33 EDT 2007


  User: msurtani
  Date: 07/03/19 15:03:33

  Modified:    src/org/jboss/cache/marshall  MethodDeclarations.java
  Log:
  JBCACHE-848 - putForExternalRead()
  
  Revision  Changes    Path
  1.38      +21 -3     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.37
  retrieving revision 1.38
  diff -u -b -r1.37 -r1.38
  --- MethodDeclarations.java	17 Mar 2007 19:11:03 -0000	1.37
  +++ MethodDeclarations.java	19 Mar 2007 19:03:33 -0000	1.38
  @@ -32,7 +32,7 @@
    * allowing lookup operations both ways.
    *
    * @author <a href="galder.zamarreno at jboss.com">Galder Zamarreno</a>
  - * @version $Revision: 1.37 $
  + * @version $Revision: 1.38 $
    */
   public class MethodDeclarations
   {
  @@ -117,6 +117,8 @@
   
      public static final Method unblockChannelLocal;
   
  +   public static final Method putForExternalReadMethodLocal;
  +
      // these are basic crud methods that are version-aware - JBCACHE-843.
   
      public static final Method putDataVersionedMethodLocal;
  @@ -125,6 +127,8 @@
   
      public static final Method putKeyValVersionedMethodLocal;
   
  +   public static final Method putForExternalReadVersionedMethodLocal;
  +
      public static final Method removeNodeVersionedMethodLocal;
   
      public static final Method removeKeyVersionedMethodLocal;
  @@ -219,6 +223,10 @@
   
      public static final int unblockChannelMethodLocal_id = 44;
   
  +   public static final int putForExternalReadMethodLocal_id = 45;
  +
  +   public static final int putForExternalReadVersionedMethodLocal_id = 46;
  +
   
      static
      {
  @@ -234,6 +242,7 @@
            putDataMethodLocal = CacheImpl.class.getDeclaredMethod("_put", GlobalTransaction.class, Fqn.class, Map.class, boolean.class);
            putDataEraseMethodLocal = CacheImpl.class.getDeclaredMethod("_put", GlobalTransaction.class, Fqn.class, Map.class, boolean.class, boolean.class);
            putKeyValMethodLocal = CacheImpl.class.getDeclaredMethod("_put", GlobalTransaction.class, Fqn.class, Object.class, Object.class, boolean.class);
  +         putForExternalReadMethodLocal = CacheImpl.class.getDeclaredMethod("_putForExternalRead", GlobalTransaction.class, Fqn.class, Object.class, Object.class);
            removeNodeMethodLocal = CacheImpl.class.getDeclaredMethod("_remove", GlobalTransaction.class, Fqn.class, boolean.class);
            removeKeyMethodLocal = CacheImpl.class.getDeclaredMethod("_remove", GlobalTransaction.class, Fqn.class, Object.class, boolean.class);
            removeDataMethodLocal = CacheImpl.class.getDeclaredMethod("_removeData", GlobalTransaction.class, Fqn.class, boolean.class);
  @@ -279,6 +288,7 @@
            putDataVersionedMethodLocal = CacheImpl.class.getDeclaredMethod("_put", GlobalTransaction.class, Fqn.class, Map.class, boolean.class, DataVersion.class);
            putDataEraseVersionedMethodLocal = CacheImpl.class.getDeclaredMethod("_put", GlobalTransaction.class, Fqn.class, Map.class, boolean.class, boolean.class, DataVersion.class);
            putKeyValVersionedMethodLocal = CacheImpl.class.getDeclaredMethod("_put", GlobalTransaction.class, Fqn.class, Object.class, Object.class, boolean.class, DataVersion.class);
  +         putForExternalReadVersionedMethodLocal = CacheImpl.class.getDeclaredMethod("_putForExternalRead", GlobalTransaction.class, Fqn.class, Object.class, Object.class, DataVersion.class);
            removeNodeVersionedMethodLocal = CacheImpl.class.getDeclaredMethod("_remove", GlobalTransaction.class, Fqn.class, boolean.class, DataVersion.class);
            removeKeyVersionedMethodLocal = CacheImpl.class.getDeclaredMethod("_remove", GlobalTransaction.class, Fqn.class, Object.class, boolean.class, DataVersion.class);
            removeDataVersionedMethodLocal = CacheImpl.class.getDeclaredMethod("_removeData", GlobalTransaction.class, Fqn.class, boolean.class, DataVersion.class);
  @@ -334,18 +344,22 @@
         methods.put(removeKeyVersionedMethodLocal_id, removeKeyVersionedMethodLocal);
         methods.put(removeNodeVersionedMethodLocal_id, removeNodeVersionedMethodLocal);
   
  +      methods.put(putForExternalReadVersionedMethodLocal_id, putForExternalReadVersionedMethodLocal);
  +      methods.put(putForExternalReadMethodLocal_id, putForExternalReadMethodLocal);
  +
         for (Integer id : methods.keySet())
         {
            methodIds.put(methods.get(id), id);
         }
   
  -
         putMethodIds.add(putDataMethodLocal_id);
         putMethodIds.add(putDataEraseMethodLocal_id);
         putMethodIds.add(putKeyValMethodLocal_id);
         putMethodIds.add(putDataEraseVersionedMethodLocal_id);
         putMethodIds.add(putDataVersionedMethodLocal_id);
         putMethodIds.add(putKeyValVersionedMethodLocal_id);
  +      putMethodIds.add(putForExternalReadMethodLocal_id);
  +      putMethodIds.add(putForExternalReadVersionedMethodLocal_id);
   
         crudMethodIds.addAll(putMethodIds);
         crudMethodIds.add(removeNodeMethodLocal_id);
  @@ -452,6 +466,8 @@
         {
            switch (methodId)
            {
  +            case putForExternalReadMethodLocal_id:
  +               return putForExternalReadVersionedMethodLocal;
               case putDataEraseMethodLocal_id:
                  return putDataEraseVersionedMethodLocal;
               case putDataMethodLocal_id:
  @@ -485,6 +501,8 @@
         {
            switch (methodId)
            {
  +            case putForExternalReadVersionedMethodLocal_id:
  +               return putForExternalReadMethodLocal;
               case putDataEraseVersionedMethodLocal_id:
                  return putDataEraseMethodLocal;
               case putDataVersionedMethodLocal_id:
  
  
  



More information about the jboss-cvs-commits mailing list