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

Manik Surtani msurtani at jboss.com
Fri Aug 25 07:59:03 EDT 2006


  User: msurtani
  Date: 06/08/25 07:59:03

  Modified:    src/org/jboss/cache/marshall  MethodDeclarations.java
  Log:
  fixed 
  - eviction interceptor
  - removed putFailFast()
  - notifications with null data
  
  Revision  Changes    Path
  1.11      +2 -11     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.10
  retrieving revision 1.11
  diff -u -b -r1.10 -r1.11
  --- MethodDeclarations.java	16 Aug 2006 10:52:50 -0000	1.10
  +++ MethodDeclarations.java	25 Aug 2006 11:59:02 -0000	1.11
  @@ -32,7 +32,7 @@
    * allowing lookup operations both ways.
    *
    * @author <a href="galder.zamarreno at jboss.com">Galder Zamarreno</a>
  - * @version $Revision: 1.10 $
  + * @version $Revision: 1.11 $
    */
   public class MethodDeclarations
   {
  @@ -53,8 +53,6 @@
   
       public static final Method putKeyValMethodLocal;
   
  -    public static final Method putFailFastKeyValueMethodLocal;
  -
       public static final Method removeNodeMethodLocal;
   
       public static final Method removeKeyMethodLocal;
  @@ -65,7 +63,6 @@
   
       public static final Method evictVersionedNodeMethodLocal;
   
  -    // public static Method evictKeyValueMethodLocal=null;
       public static final Method prepareMethod;
   
       public static final Method commitMethod;
  @@ -76,7 +73,6 @@
   
       public static final Method replicateAllMethod;
   
  -    // public static Method addChildMethod=null;
       public static final Method addChildMethodLocal;
   
       public static final Method getKeyValueMethodLocal;
  @@ -124,7 +120,7 @@
   
       public static final int putKeyValMethodLocal_id = 3;
   
  -    public static final int putFailFastKeyValueMethodLocal_id = 4;
  +//    public static final int putFailFastKeyValueMethodLocal_id = 4;  // this method is no longer needed.
   
       public static final int removeNodeMethodLocal_id = 5;
   
  @@ -203,8 +199,6 @@
                       {GlobalTransaction.class, Fqn.class, Map.class, boolean.class, boolean.class});
               putKeyValMethodLocal = TreeCache.class.getDeclaredMethod("_put", new Class[]
                       {GlobalTransaction.class, Fqn.class, Object.class, Object.class, boolean.class});
  -            putFailFastKeyValueMethodLocal = TreeCache.class.getDeclaredMethod("_put", new Class[]
  -                    {GlobalTransaction.class, Fqn.class, Object.class, Object.class, boolean.class, long.class});
               removeNodeMethodLocal = TreeCache.class.getDeclaredMethod("_remove", new Class[]
                       {GlobalTransaction.class, Fqn.class, boolean.class});
               removeKeyMethodLocal = TreeCache.class.getDeclaredMethod("_remove", new Class[]
  @@ -284,7 +278,6 @@
           crud_methods.add(putDataMethodLocal);
           crud_methods.add(putDataEraseMethodLocal);
           crud_methods.add(putKeyValMethodLocal);
  -        crud_methods.add(putFailFastKeyValueMethodLocal);
           crud_methods.add(removeNodeMethodLocal);
           crud_methods.add(removeKeyMethodLocal);
           crud_methods.add(removeDataMethodLocal);
  @@ -293,7 +286,6 @@
           methods.put(new Integer(putDataMethodLocal_id), putDataMethodLocal);
           methods.put(new Integer(putDataEraseMethodLocal_id), putDataEraseMethodLocal);
           methods.put(new Integer(putKeyValMethodLocal_id), putKeyValMethodLocal);
  -        methods.put(new Integer(putFailFastKeyValueMethodLocal_id), putFailFastKeyValueMethodLocal);
           methods.put(new Integer(removeNodeMethodLocal_id), removeNodeMethodLocal);
           methods.put(new Integer(removeKeyMethodLocal_id), removeKeyMethodLocal);
           methods.put(new Integer(removeDataMethodLocal_id), removeDataMethodLocal);
  @@ -339,7 +331,6 @@
           crud_method_ids.add(new Integer(putDataMethodLocal_id));
           crud_method_ids.add(new Integer(putDataEraseMethodLocal_id));
           crud_method_ids.add(new Integer(putKeyValMethodLocal_id));
  -        crud_method_ids.add(new Integer(putFailFastKeyValueMethodLocal_id));
           crud_method_ids.add(new Integer(removeNodeMethodLocal_id));
           crud_method_ids.add(new Integer(removeKeyMethodLocal_id));
           crud_method_ids.add(new Integer(removeDataMethodLocal_id));
  
  
  



More information about the jboss-cvs-commits mailing list