turbine-jcs-user  

RE: Element attribute IsSpool does nothing

Smuts, Aaron
Fri, 28 Jan 2005 16:46:28 -0800

It's fixed now.  I'll make another dev build after more testing.  

I can't remember what happened.  . . . The spool method now checks if the items 
are spoolable.  

We need better unit tests around all these element config options.  I'll work 
on some soon.  Maybe your test class would work.  Feel free to send it if you 
think it would help.

Elements should now leave purgatory even if the disk cache is not alive.  I 
will work on a better solution to this problem.  The disk cache balks on most 
operations if it is not alive.  Puts however invovle the purgatory, so they are 
a bit different.  We need a way to avoid purgatory if the cache is not alive.  
I'll work on something.

Cheers,

Aaron

-----Original Message-----
From: Wyatt, Allen [mailto:[EMAIL PROTECTED] 
Sent: Friday, January 28, 2005 3:20 PM
To: turbine-jcs-user@jakarta.apache.org
Subject: Element attribute IsSpool does nothing

If I'm reading the JCS code correctly (and my unit tests are working), it 
appears the IsSpool element attribute isn't used.

I test this by creating a cache region that uses a disk cache and writing some 
elements to the cache, half of which have IsSpool turned on and half of which 
have it turned off.  However, when the cache region spools to disk the items 
that have IsSpool turned off are written to disk along with the others.

Is this fixed in a later version of JCS?

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