[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jboss-cvs-commits
Subject:    [jboss-cvs] jboss-cache/src/main/org/jboss/cache/loader CacheLoader.java
From:       Bela Ban <belaban () users ! sourceforge ! net>
Date:       2004-05-31 23:41:29
Message-ID: E1BUwPJ-0008Do-V5 () sc8-pr-cvs1 ! sourceforge ! net
[Download RAW message or body]

  User: belaban 
  Date: 04/05/31 16:41:29

  Modified:    src/main/org/jboss/cache/loader CacheLoader.java
  Log:
  added getChildren()
  
  Revision  Changes    Path
  1.13      +10 -1     jboss-cache/src/main/org/jboss/cache/loader/CacheLoader.java
  
  Index: CacheLoader.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-cache/src/main/org/jboss/cache/loader/CacheLoader.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- CacheLoader.java	21 May 2004 01:42:36 -0000	1.12
  +++ CacheLoader.java	31 May 2004 23:41:29 -0000	1.13
  @@ -6,6 +6,7 @@
   
   import java.util.List;
   import java.util.Map;
  +import java.util.Set;
   
   /**
    * Implementations need to load an object given a key from secondary storage, or \
store an object under a given  @@ -16,7 +17,7 @@
    * shut down, {@link #destroy()} is called, after which the loader is unusable.
    *
    * @author Bela Ban Oct 31, 2003
  - * @version $Id: CacheLoader.java,v 1.12 2004/05/21 01:42:36 belaban Exp $
  + * @version $Id: CacheLoader.java,v 1.13 2004/05/31 23:41:29 belaban Exp $
    */
   public interface CacheLoader extends Service {
   
  @@ -37,6 +38,14 @@
       */
      void setCache(TreeCache c);
   
  +
  +   /**
  +    * Returns a list of children names, all names are <em>relative</em>. Returns \
null if the parent node is not found.  +    * @param fqn The FQN of the parent
  +    * @return Set<String>. A list of children
  +    */
  +   Set getChildren(Fqn fqn);
  +
      /**
       * Loads all keys and values from the persistent store, given a key
       *
  
  
  


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
jboss-cvs-commits mailing list
jboss-cvs-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-cvs-commits


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic