jakarta-jcs-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jerome.pic...@mpsa.com
Subject Problem with the LateralCache.
Date Wed, 25 Aug 2004 13:18:55 GMT




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


Mime
View raw message