[jboss-cvs] JBossCache/src/org/jboss/cache/eviction ...
Manik Surtani
msurtani at jboss.com
Wed Dec 13 08:32:44 EST 2006
User: msurtani
Date: 06/12/13 08:32:44
Modified: src/org/jboss/cache/eviction Tag: Branch_JBossCache_1_4_0
BaseEvictionAlgorithm.java
Log:
recycle queue should use the same capacity as the eviction queue - NOT the default 1024
Revision Changes Path
No revision
No revision
1.11.2.1 +2 -2 JBossCache/src/org/jboss/cache/eviction/BaseEvictionAlgorithm.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: BaseEvictionAlgorithm.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/eviction/BaseEvictionAlgorithm.java,v
retrieving revision 1.11
retrieving revision 1.11.2.1
diff -u -b -r1.11 -r1.11.2.1
--- BaseEvictionAlgorithm.java 8 Jun 2006 17:37:39 -0000 1.11
+++ BaseEvictionAlgorithm.java 13 Dec 2006 13:32:44 -0000 1.11.2.1
@@ -19,7 +19,7 @@
* abstract methods and a policy.
*
* @author Daniel Huang - dhuang at jboss.org 10/2005
- * @version $Revision: 1.11 $
+ * @version $Revision: 1.11.2.1 $
*/
public abstract class BaseEvictionAlgorithm implements EvictionAlgorithm
{
@@ -60,7 +60,7 @@
protected BaseEvictionAlgorithm()
{
- recycleQueue = new BoundedBuffer();
+ recycleQueue = new BoundedBuffer(RegionManager.CAPACITY);
}
protected void initialize(Region region) throws EvictionException
More information about the jboss-cvs-commits
mailing list