You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@avalon.apache.org by co...@apache.org on 2001/12/03 02:42:51 UTC

cvs commit: jakarta-avalon-excalibur/src/scratchpad/org/apache/avalon/excalibur/cache/test LRUCacheTestCase.java

colus       01/12/02 17:42:51

  Modified:    src/scratchpad/org/apache/avalon/excalibur/cache
                        AbstractCache.java AbstractCacheStore.java
                        Cache.java CacheEvent.java CacheListener.java
                        CacheStore.java CacheValidator.java
                        DefaultCache.java FIFOCachePolicy.java
                        LRUCache.java LRUCachePolicy.java
                        ListCachePolicy.java MemoryCacheStore.java
                        ReplacementPolicy.java
               src/scratchpad/org/apache/avalon/excalibur/cache/test
                        LRUCacheTestCase.java
  Log:
  More javadocs.
  Changed email address.
  
  Revision  Changes    Path
  1.3       +1 -1      jakarta-avalon-excalibur/src/scratchpad/org/apache/avalon/excalibur/cache/AbstractCache.java
  
  Index: AbstractCache.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/src/scratchpad/org/apache/avalon/excalibur/cache/AbstractCache.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- AbstractCache.java	2001/09/22 05:48:02	1.2
  +++ AbstractCache.java	2001/12/03 01:42:51	1.3
  @@ -12,7 +12,7 @@
   
   /**
    *
  - * @author <a href="mailto:colus@isoft.co.kr">Eung-ju Park</a>
  + * @author <a href="mailto:colus@apache.org">Eung-ju Park</a>
    */
   public abstract class AbstractCache
       implements Cache
  
  
  
  1.2       +1 -1      jakarta-avalon-excalibur/src/scratchpad/org/apache/avalon/excalibur/cache/AbstractCacheStore.java
  
  Index: AbstractCacheStore.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/src/scratchpad/org/apache/avalon/excalibur/cache/AbstractCacheStore.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- AbstractCacheStore.java	2001/08/06 03:30:04	1.1
  +++ AbstractCacheStore.java	2001/12/03 01:42:51	1.2
  @@ -9,7 +9,7 @@
   
   /**
    *
  - * @author <a href="mailto:colus@isoft.co.kr">Eung-ju Park</a>
  + * @author <a href="mailto:colus@apache.org">Eung-ju Park</a>
    */
   public abstract class AbstractCacheStore
       implements CacheStore
  
  
  
  1.3       +1 -1      jakarta-avalon-excalibur/src/scratchpad/org/apache/avalon/excalibur/cache/Cache.java
  
  Index: Cache.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/src/scratchpad/org/apache/avalon/excalibur/cache/Cache.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- Cache.java	2001/08/19 07:44:51	1.2
  +++ Cache.java	2001/12/03 01:42:51	1.3
  @@ -13,7 +13,7 @@
   /**
    * This is a cache that caches objects for reuse.
    *
  - * @author <a href="mailto:colus@isoft.co.kr">Eung-ju Park</a>
  + * @author <a href="mailto:colus@apache.org">Eung-ju Park</a>
    */
   public interface Cache
       extends ThreadSafe, Component
  
  
  
  1.3       +3 -1      jakarta-avalon-excalibur/src/scratchpad/org/apache/avalon/excalibur/cache/CacheEvent.java
  
  Index: CacheEvent.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/src/scratchpad/org/apache/avalon/excalibur/cache/CacheEvent.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- CacheEvent.java	2001/09/22 05:48:02	1.2
  +++ CacheEvent.java	2001/12/03 01:42:51	1.3
  @@ -10,7 +10,9 @@
   import java.util.EventObject;
   
   /**
  - * @author <a href="mailto:colus@isoft.co.kr">Eung-ju Park</a>
  + * This is the class used to deliver notifications about <code>Cache</code>.
  + *
  + * @author <a href="mailto:colus@apache.org">Eung-ju Park</a>
    */
   public class CacheEvent
       extends EventObject
  
  
  
  1.3       +3 -1      jakarta-avalon-excalibur/src/scratchpad/org/apache/avalon/excalibur/cache/CacheListener.java
  
  Index: CacheListener.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/src/scratchpad/org/apache/avalon/excalibur/cache/CacheListener.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- CacheListener.java	2001/09/22 05:48:02	1.2
  +++ CacheListener.java	2001/12/03 01:42:51	1.3
  @@ -10,7 +10,9 @@
   import java.util.EventListener;
   
   /**
  - * @author <a href="mailto:colus@isoft.co.kr">Eung-ju Park</a>
  + * Receive notifications about <code>Cache</code>.
  + *
  + * @author <a href="mailto:colus@apache.org">Eung-ju Park</a>
    */
   public interface CacheListener
       extends EventListener
  
  
  
  1.3       +1 -1      jakarta-avalon-excalibur/src/scratchpad/org/apache/avalon/excalibur/cache/CacheStore.java
  
  Index: CacheStore.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/src/scratchpad/org/apache/avalon/excalibur/cache/CacheStore.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- CacheStore.java	2001/08/19 07:42:30	1.2
  +++ CacheStore.java	2001/12/03 01:42:51	1.3
  @@ -12,7 +12,7 @@
   /**
    * Store cached objects.
    *
  - * @author <a href="mailto:colus@isoft.co.kr">Eung-ju Park</a>
  + * @author <a href="mailto:colus@apache.org">Eung-ju Park</a>
    */
   public interface CacheStore
   {
  
  
  
  1.2       +1 -1      jakarta-avalon-excalibur/src/scratchpad/org/apache/avalon/excalibur/cache/CacheValidator.java
  
  Index: CacheValidator.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/src/scratchpad/org/apache/avalon/excalibur/cache/CacheValidator.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- CacheValidator.java	2001/08/06 03:30:04	1.1
  +++ CacheValidator.java	2001/12/03 01:42:51	1.2
  @@ -10,7 +10,7 @@
   /**
    * Validate cached object.
    *
  - * @author <a href="mailto:colus@isoft.co.kr">Eung-ju Park</a>
  + * @author <a href="mailto:colus@apache.org">Eung-ju Park</a>
    */
   public interface CacheValidator
   {
  
  
  
  1.4       +3 -1      jakarta-avalon-excalibur/src/scratchpad/org/apache/avalon/excalibur/cache/DefaultCache.java
  
  Index: DefaultCache.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/src/scratchpad/org/apache/avalon/excalibur/cache/DefaultCache.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- DefaultCache.java	2001/10/28 06:32:03	1.3
  +++ DefaultCache.java	2001/12/03 01:42:51	1.4
  @@ -8,7 +8,9 @@
   package org.apache.avalon.excalibur.cache;
   
   /**
  - * @author <a href="mailto:colus@isoft.co.kr">Eung-ju Park</a>
  + * Default <code>Cache</code> implementation.
  + *
  + * @author <a href="mailto:colus@apache.org">Eung-ju Park</a>
    */
   public class DefaultCache
       extends AbstractCache
  
  
  
  1.2       +1 -1      jakarta-avalon-excalibur/src/scratchpad/org/apache/avalon/excalibur/cache/FIFOCachePolicy.java
  
  Index: FIFOCachePolicy.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/src/scratchpad/org/apache/avalon/excalibur/cache/FIFOCachePolicy.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- FIFOCachePolicy.java	2001/08/06 03:30:04	1.1
  +++ FIFOCachePolicy.java	2001/12/03 01:42:51	1.2
  @@ -12,7 +12,7 @@
   /**
    * FIFO(First In First Out) replacement policy.
    *
  - * @author <a href="mailto:colus@isoft.co.kr">Eung-ju Park</a>
  + * @author <a href="mailto:colus@apache.org">Eung-ju Park</a>
    */
   public class FIFOCachePolicy
       extends ListCachePolicy
  
  
  
  1.2       +1 -1      jakarta-avalon-excalibur/src/scratchpad/org/apache/avalon/excalibur/cache/LRUCache.java
  
  Index: LRUCache.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/src/scratchpad/org/apache/avalon/excalibur/cache/LRUCache.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- LRUCache.java	2001/08/06 03:30:04	1.1
  +++ LRUCache.java	2001/12/03 01:42:51	1.2
  @@ -14,7 +14,7 @@
   /**
    * Fixed length cache with a LRU replacement policy.
    *
  - * @author <a href="mailto:colus@isoft.co.kr">Eung-ju Park</a>
  + * @author <a href="mailto:colus@apache.org">Eung-ju Park</a>
    */
   public class LRUCache
       extends DefaultCache
  
  
  
  1.2       +1 -1      jakarta-avalon-excalibur/src/scratchpad/org/apache/avalon/excalibur/cache/LRUCachePolicy.java
  
  Index: LRUCachePolicy.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/src/scratchpad/org/apache/avalon/excalibur/cache/LRUCachePolicy.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- LRUCachePolicy.java	2001/08/06 03:30:04	1.1
  +++ LRUCachePolicy.java	2001/12/03 01:42:51	1.2
  @@ -10,7 +10,7 @@
   /**
    * LRU(Least Recently Used) replacement policy.
    *
  - * @author <a href="mailto:colus@isoft.co.kr">Eung-ju Park</a>
  + * @author <a href="mailto:colus@apache.org">Eung-ju Park</a>
    */
   public class LRUCachePolicy
       extends ListCachePolicy
  
  
  
  1.2       +1 -1      jakarta-avalon-excalibur/src/scratchpad/org/apache/avalon/excalibur/cache/ListCachePolicy.java
  
  Index: ListCachePolicy.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/src/scratchpad/org/apache/avalon/excalibur/cache/ListCachePolicy.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ListCachePolicy.java	2001/08/06 03:30:04	1.1
  +++ ListCachePolicy.java	2001/12/03 01:42:51	1.2
  @@ -12,7 +12,7 @@
   /**
    * FIXME: Remove or determine good name.
    *
  - * @author <a href="mailto:colus@isoft.co.kr">Eung-ju Park</a>
  + * @author <a href="mailto:colus@apache.org">Eung-ju Park</a>
    */
   public abstract class ListCachePolicy
       implements ReplacementPolicy
  
  
  
  1.3       +1 -1      jakarta-avalon-excalibur/src/scratchpad/org/apache/avalon/excalibur/cache/MemoryCacheStore.java
  
  Index: MemoryCacheStore.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/src/scratchpad/org/apache/avalon/excalibur/cache/MemoryCacheStore.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- MemoryCacheStore.java	2001/08/19 07:42:30	1.2
  +++ MemoryCacheStore.java	2001/12/03 01:42:51	1.3
  @@ -12,7 +12,7 @@
   import java.util.Iterator;
   
   /**
  - * @author <a href="mailto:colus@isoft.co.kr">Eung-ju Park</a>
  + * @author <a href="mailto:colus@apache.org">Eung-ju Park</a>
    */
   public class MemoryCacheStore
       extends AbstractCacheStore
  
  
  
  1.2       +1 -1      jakarta-avalon-excalibur/src/scratchpad/org/apache/avalon/excalibur/cache/ReplacementPolicy.java
  
  Index: ReplacementPolicy.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/src/scratchpad/org/apache/avalon/excalibur/cache/ReplacementPolicy.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ReplacementPolicy.java	2001/08/06 03:30:04	1.1
  +++ ReplacementPolicy.java	2001/12/03 01:42:51	1.2
  @@ -10,7 +10,7 @@
   /**
    * Cache replacement policy.
    *
  - * @author <a href="mailto:colus@isoft.co.kr">Eung-ju Park</a>
  + * @author <a href="mailto:colus@apache.org">Eung-ju Park</a>
    */
   public interface ReplacementPolicy
   {
  
  
  
  1.2       +1 -1      jakarta-avalon-excalibur/src/scratchpad/org/apache/avalon/excalibur/cache/test/LRUCacheTestCase.java
  
  Index: LRUCacheTestCase.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/src/scratchpad/org/apache/avalon/excalibur/cache/test/LRUCacheTestCase.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- LRUCacheTestCase.java	2001/08/19 07:54:24	1.1
  +++ LRUCacheTestCase.java	2001/12/03 01:42:51	1.2
  @@ -14,7 +14,7 @@
   /**
    * JUnit TestCase for LRUCache.
    *
  - * @author <a href="mailto:colus@isoft.co.kr">Eung-ju Park</a>
  + * @author <a href="mailto:colus@apache.org">Eung-ju Park</a>
    */
   public class LRUCacheTestCase
       extends TestCase
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>