jakarta-jcs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From asm...@apache.org
Subject cvs commit: jakarta-turbine-jcs/src/java/org/apache/jcs/engine/behavior ICompositeCacheAttributes.java
Date Mon, 10 May 2004 01:16:49 GMT
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: turbine-jcs-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-jcs-dev-help@jakarta.apache.org


Mime
View raw message