1 Reply Latest reply on Jul 22, 2005 12:31 AM by ben.wang

    Proxy Collection classes and node locking

    Yoav Sivan Newbie


      I was wondering if anyone knows how does TreeCacheAOP manage locks for aspectized collection classes.

      Basically I want to put a large map on the cache, and then use the apectized map. I'm expecting heavy reads and non freequent write to the map. As performence is critical, I need the locking to be on the current key that is modified, and not on the whole map. Is this the case?

      BTW, another question: is there any way to run over all the map elements using an iterator without locking the whole map?