4 Replies Latest reply on Aug 25, 2005 4:33 AM by yongw

    multiple eviction policies

    yongw

      Hi,

      is it possble to have multiple regions and each region has its own eviction policy? If it is possible, how can I configure it in the configuration xml.

      Many thanks,
      Yong

        • 1. Re: multiple eviction policies

          Come on, read the documentation first.

          • 2. Re: multiple eviction policies
            yongw

            Hi,

            I do read the document and I know it supports multiple regions, but I don't find any details how I can configure different regions with different eviction policies in the configuration xml. In the examples there are always one evication policiy for multiple regions. Perhaps I have missed something.

            We are evaluating different cache solutions for our coming project now. For our project it will be useful, if we can use different eviction policies for each different regions.

            It would be great if you can give me some detail hints.

            Many thanks,
            Yong

            "ben.wang@jboss.com" wrote:
            Come on, read the documentation first.


            • 3. Re: multiple eviction policies

              ok, if you meant different polcies are different providers (e.g., LRU or MRU) then the answer is no. You can only use one provider per cache instance (but different regions have different *parameters*). So if it is a must, you can use multiple cache instance then.

              -Ben

              • 4. Re: multiple eviction policies
                yongw

                Thanks for info

                Yong

                "ben.wang@jboss.com" wrote:
                ok, if you meant different polcies are different providers (e.g., LRU or MRU) then the answer is no. You can only use one provider per cache instance (but different regions have different *parameters*). So if it is a must, you can use multiple cache instance then.

                -Ben