5 Replies Latest reply on May 7, 2008 9:58 AM by David Sancho

    Create an eviction Region with a non empty nodeEventQueue_

    David Sancho Newbie

      Hi all,

      I wonder if I can create an eviction Region with a non empty nodeEventQueue_ using JbossCache-1.4.1-Sp8. As I see in the source code, any time you create an eviction Region, you create an empty queue associated to it.

      This situation deals to a non stable eviction policy configuration in cases when you add an eviction policy dinamically in a fqn that already has nodes created inside.

      Let's get into the situation:

      I got

      /NODE
       /SUBNODE
       /SUBNODE_A
       /SUBNODE_B
      


      If I create an eviction policy to fqn = /NODE/SUBNODE, neither SUBNODE_A nor SUBNODE_B will be evicted ever. Only nodes created after the eviction policy has been configured will be evicted.

      Is there any possibility do add these nodes to the eviction queue?

      Thanks in advandce!

      Sancheski