0 Replies Latest reply on Nov 23, 2011 2:10 PM by Mathieu Lachance

    Infinispan 5.x get configuration deprecation

    Mathieu Lachance Novice

      Hello,

       

      I would like to know what would be the correct way of getting cache configuration at runtime since "org.infinispan.Cache::getConfiguration()" seems now deprecated.

      I'm currently using "cache.getConfiguration().getCacheMode().isDistributed()" to build clustered query instead of non clustered query when using distribution mode.

       

      Thanks a lot,