2 Replies Latest reply on Jul 31, 2006 9:19 PM by ben.wang

    Eviction Policies

    confuz

      Hi,
      I found that statement in the jbosscache document "Eviction policies specify the behavior of a node residing inside the cache" , that means the policy only support NODE level?

      currently, I need the such policy that support on node's value level.
      E.G
      set MAXVALUE of a node, if the number of the value exceeds the MAXVALUE, some values will be evicted to keep the note only contains
      MAXVALUE numbers.

      any suggestions on this issue?
      regards.

        • 1. Re: Eviction Policies
          sah5

          -BUMP-

          I'm wondering the same thing-- I need to specify an LRUPolicy for individual children of a node-- not at the node level. Am I missing something major here?

          • 2. Re: Eviction Policies

            We will officially support a total max element (instead of nodes) eviction policy in the upcoming 2.0. Alpha is slated for later this month. So stay tuned.