The indexed disk cache uses a memory index.  This is why it's so fast. . . The 
index includes the key and the disk offset for the item.  The MaxKeySize 
setting controls the size of the index.  You cannot store more items on disk 
than the size of the index.  So, if you set MaxKeySize to 1000, you can only 
store 1000 items on disk.  

Aaron

--- On Wed, 5/6/09, Jawahar Nayak <j...@chambal.com> wrote:

> From: Jawahar Nayak <j...@chambal.com>
> Subject: Re: Unable to get the stored Cache
> To: jcs-users@jakarta.apache.org
> Date: Wednesday, May 6, 2009, 3:32 AM
> 
> Thanks for the reply
> 
> If I am using MaxObjects=0, means No object stored in
> Memory. So It is not
> useful to call feeMemoryElements(). PurgatoryArea is used
> before writing to
> Disk. Can we flush all items in PurgatoryArea to 
> disk. 
> 
> Can anyone tell what configuration I should use to do the
> following:
> 
> Suppose I want to write maximum 5000 objects,
> 
> - I want to store all items in DiskCahe, no single object
> in Memory.
> - I don't want to use MaxKeySize more than 1000
> 
> Thanks
> 
> 
> 
> 
> -- 
> View this message in context: 
> http://www.nabble.com/Unable-to-get-the-stored-Cache-tp23331442p23404006.html
> Sent from the JCS - Users mailing list archive at
> Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jcs-users-unsubscr...@jakarta.apache.org
> For additional commands, e-mail: jcs-users-h...@jakarta.apache.org
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jcs-users-unsubscr...@jakarta.apache.org
For additional commands, e-mail: jcs-users-h...@jakarta.apache.org

Reply via email to