jakarta-jcs-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dadade <deirdre.y.k...@lmco.com>
Subject Re: Dump Cache Entries in Memory to Index Disk
Date Sun, 24 Jun 2007 06:22:39 GMT

Thanks for your help. I have a better understanding.



Aaron Smuts wrote:
> 
> Purgatory is a queue where items go on their way to
> disk after they leave memory.  
> 
> (This statement is going to look odd when it shows up
> in a Google results page out of context!)
> 
> While in purgatory, items can still be accessed. 
> Purgatory is basically a doubly-linked list with a
> size limit, fronted by a map.  There is no other way
> to get to disk except through purgatory, regardless if
> the cache is shutting down or just swapping the data. 
> 
> 
> The Indexed Disk Cache registers a shutdown observer. 
> It will try to move all items from memory to disk on
> shutdown, but there is seldom time.  It is far better
> to call shutdown properly.  During an orderly
> shutdown,  the cache will give itself up to a minute
> to write all items to disk.  (I've never seen it take
> this long and the time limit is configurable.)
> 
> Aaron Smuts
> 
> 
> 
> --- dadade <deirdre.y.kong@lmco.com> wrote:
> 
>> 
>> Thank you for your help.
>> 
>> Another question is: What does MaxPurgatorySize
>> mean?  Does it mean that
>> when shutdown occurs, all the items in the purgatory
>> area are written to
>> disk?  If we don't call shutdown or
>> freeMemoryElements, the items in the
>> purgatory area won't go to disk?  I read the Indexed
>> Disk Auxiliary Cache
>> page online, but would like further explanation. 
>> Thank you again for your
>> help.
>> 
>> 
>> 
>> dadade wrote:
>> > 
>> > Hello,
>> > 
>> > Is there a way (API) to spooled all the cache
>> entries in LRU Memory to
>> > Index Disk?
>> > Your help is appreciate.
>> > 
>> > Thanks,
>> > 
>> 
>> -- 
>> View this message in context:
>>
> http://www.nabble.com/Dump-Cache-Entries-in-Memory-to-Index-Disk-tf3960435.html#a11256353
>> Sent from the JCS - Users mailing list archive at
>> Nabble.com.
>> 
>> 
>>
> ---------------------------------------------------------------------
>> To unsubscribe, e-mail:
>> jcs-users-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail:
>> jcs-users-help@jakarta.apache.org
>> 
>> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jcs-users-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jcs-users-help@jakarta.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Dump-Cache-Entries-in-Memory-to-Index-Disk-tf3960435.html#a11272768
Sent from the JCS - Users mailing list archive at Nabble.com.


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


Mime
View raw message