1 Reply Latest reply on May 24, 2006 12:32 PM by Manik Surtani

    restrict number of elements

    babu Newbie

      I have 2 regions configartion in my application.How can I restrict number of elements (not nodes) in one Region/FQN?
      and how to get current number of elements in a Region/FQN?

        • 1. Re: restrict number of elements
          Manik Surtani Master

          You cannot evict based on number of elements in a node at this stage. We don't foresee this as being a feature in the near future although you are welcome to make a feature request for this on jira.jboss.com and see if it gains sufficient votes.

          If you wish to check the number of elements in a node, you can use Cache.get("/fqn") which will return a Node, which can be used to get the number of elements.