1 Reply Latest reply on Sep 7, 2005 9:42 AM by Eugene Matyushkin

    Eviction policy implementation question

    Eugene Matyushkin Newbie

      I have a question on eviction policy implementation.

      Sometimes I need to delay eviction till, e.g., the next eviction thread wakeup. But I found that if eviction event occures, cache.get(Fqn) within eviction policy implementation doesn't cause nodeVisited event, thus, second eviction request is not initiated for the same node.

      I found a kind of workaround - something like


      , i.e. just putting the same values into the cache. But I'm not sure this is a good decision, since node modification within listeners is undesirable, as far as I can understand. Can someone propose correct decision?

      Eugene aka Skipy