Author: asmuts
Date: Sat Aug 26 23:45:45 2006
New Revision: 437310
URL: http://svn.apache.org/viewvc?rev=437310&view=rev
Log:
Adding a rough version of a fixed block size disk cache. Items are stored in
blocks of a fixed size. If they don't fit in a single block, they are put into
multiple blocks.
It doesn't need optimization. The recycle bin is simply a list of integers that
indicate what blocks are free. The memory element just holds the key and the
blocks.
Compared to the Indexed Disk cache, this requires less memory overall, is
easier to understand, and it does not require optimization.
I'm still working on the BlockDiskCache, but it should be almost completely
functional.
Added:
jakarta/jcs/trunk/src/java/org/apache/jcs/auxiliary/disk/block/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]