asmuts      2004/05/09 18:16:49

  Modified:    src/java/org/apache/jcs/engine/behavior
                        ICompositeCacheAttributes.java
  Log:
  added a maximum number to spool per run for the shrinker.
  
  Revision  Changes    Path
  1.4       +16 -0     
jakarta-turbine-jcs/src/java/org/apache/jcs/engine/behavior/ICompositeCacheAttributes.java
  
  Index: ICompositeCacheAttributes.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-turbine-jcs/src/java/org/apache/jcs/engine/behavior/ICompositeCacheAttributes.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- ICompositeCacheAttributes.java    15 Apr 2004 19:22:53 -0000      1.3
  +++ ICompositeCacheAttributes.java    10 May 2004 01:16:49 -0000      1.4
  @@ -176,6 +176,22 @@
        */
       public long getShrinkerIntervalSeconds();
   
  +    /**
  +     * If UseMemoryShrinker is true the memory cache should auto-expire elements
  +     * to reclaim space. This sets the maximum number of items to spool per run.
  +     *
  +     * @param seconds The new maxSpoolPerRun value
  +     */
  +    public void setMaxSpoolPerRun( int maxSpoolPerRun );
  +
  +    /**
  +     * If UseMemoryShrinker is true the memory cache should auto-expire elements
  +     * to reclaim space. This gets the maximum number of items to spool per run.
  +     *
  +     * @return The maxSpoolPerRun value
  +     */
  +    public int getMaxSpoolPerRun();
  +
   
       // soultion to interface cloning
       /**
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to