You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jcs-dev@jakarta.apache.org by as...@apache.org on 2004/05/10 03:16:49 UTC
cvs commit: jakarta-turbine-jcs/src/java/org/apache/jcs/engine/behavior ICompositeCacheAttributes.java
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