You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jcs-users@jakarta.apache.org by je...@mpsa.com on 2004/08/25 15:18:55 UTC
Problem with the LateralCache.
Hi,
I use for test the LateralCache configuration.
I have two class A and B. Each class have a local cache and an auxiliary
lateral cache to synchronize them.
B class, executes a loop to retrieve any instance of object in his cache.
A class, executes a loop and put many objects in his local cache.
Here are two test :
First test :
- Launch B class, then A class. Well, the B class finds all objects
cached by A class.
- I stop A class, B class always finds objects.
Why the cache B contains all object cached by A ? I believed, if A
contains object, it return to B and the object is never stored in cache B.
Second test :
- Launch A class, then B class. Nothing, the B class don't find any
object.
I think, the synchronisation in the lateral cache is running only in
the put mode. What do you think about it ?
Thank you for your explanation
Regards,
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-jcs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-jcs-user-help@jakarta.apache.org