i need cache.ccf file for disk caching

On 11/8/06, Ard Schrijvers <[EMAIL PROTECTED]> wrote:

>
> Hi,
> can anyone send cache.ccf file to me. which is having disk-based cache
> and LRUMemoryCache.
>
> in that i put MaxObjects=0 and regionName.data file is showing some KB
> memory.but regioName.key file is not showing any memory 0KB.

When you are using a diskStore, when maxobjects is reached, items (cached 
responses) are spooled to disk (when IsSpool is true). This does not mean keys 
are spooled to disk. Keys are kept in memory, only responses are spooled. The 
xxx.key is used when you shut down the JVM, and keys are serialized into 
xxx.key. At start-up, I suppose these keys a read again. I haven't yet seen a 
property with which you can configure diskPersistence between JVM start-ups (I 
though just started looking at jcs, so I might have missed it).  Normally I do 
not want this.

>
> and when i need to get object from JCS it's not coming returning null.

I do not understand this

Regards Ard

>
> Thanks & Regards
> Sambasiva Reddy
> CTS
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to