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

    Infinispan 5.x get configuration deprecation

    matlach

      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,