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

Manik Surtani msurtani at jboss.com
Wed Jan 24 10:29:28 EST 2007


  User: msurtani
  Date: 07/01/24 10:29:28

  Modified:    src/org/jboss/cache   CacheImpl.java Cache.java
  Log:
  getting there with ch 9
  
  Revision  Changes    Path
  1.36      +5 -0      JBossCache/src/org/jboss/cache/CacheImpl.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: CacheImpl.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/CacheImpl.java,v
  retrieving revision 1.35
  retrieving revision 1.36
  diff -u -b -r1.35 -r1.36
  --- CacheImpl.java	19 Jan 2007 16:00:31 -0000	1.35
  +++ CacheImpl.java	24 Jan 2007 15:29:28 -0000	1.36
  @@ -4013,6 +4013,11 @@
         return getRegionManager().getRegion(fqn, createIfAbsent);
      }
   
  +   public boolean removeRegion(Fqn fqn)
  +   {
  +      return getRegionManager().removeRegion(fqn);
  +   }
  +
      public void removeNode(Fqn fqn)
      {
         remove(fqn);
  
  
  
  1.23      +7 -0      JBossCache/src/org/jboss/cache/Cache.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: Cache.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/Cache.java,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -b -r1.22 -r1.23
  --- Cache.java	19 Jan 2007 15:02:52 -0000	1.22
  +++ Cache.java	24 Jan 2007 15:29:28 -0000	1.23
  @@ -229,6 +229,13 @@
      Region getRegion(Fqn fqn, boolean createIfAbsent);
   
      /**
  +    * Removes a region denoted by the Fqn passed in.
  +    * @param fqn of the region to remove
  +    * @return true if a region did exist and was removed; false otherwise.
  +    */
  +   boolean removeRegion(Fqn fqn);
  +
  +   /**
       * Lifecycle method that initializes configuration state, the root node, etc.
       */
      void create() throws Exception;
  
  
  



More information about the jboss-cvs-commits mailing list