You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by jt...@apache.org on 2002/02/24 04:19:13 UTC
cvs commit: jakarta-turbine-stratum/src/java/org/apache/stratum/jcs/auxiliary/disk/indexed IndexedDiskCacheNoWaitBuffer.java
jtaylor 02/02/23 19:19:13
Modified: src/java/org/apache/stratum/jcs/auxiliary/disk/indexed
IndexedDiskCacheNoWaitBuffer.java
Log:
I believe elements were never being put in purgatory, this fixes that.
Revision Changes Path
1.3 +7 -0 jakarta-turbine-stratum/src/java/org/apache/stratum/jcs/auxiliary/disk/indexed/IndexedDiskCacheNoWaitBuffer.java
Index: IndexedDiskCacheNoWaitBuffer.java
===================================================================
RCS file: /home/cvs/jakarta-turbine-stratum/src/java/org/apache/stratum/jcs/auxiliary/disk/indexed/IndexedDiskCacheNoWaitBuffer.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- IndexedDiskCacheNoWaitBuffer.java 18 Feb 2002 17:14:23 -0000 1.2
+++ IndexedDiskCacheNoWaitBuffer.java 24 Feb 2002 03:19:13 -0000 1.3
@@ -198,6 +198,13 @@
PurgatoryElement pe = new PurgatoryElement( ce );
pe.isSpoolable = true;
+
+ // Add the element to purgatory
+
+ purgatory.put( ce.getKey(), pe );
+
+ // Queue put to disk
+
q.addPutEvent( ( ICacheElement ) pe );
//q.addPutEvent( ce );
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>