1 Reply Latest reply on Dec 20, 2013 10:16 AM by Mircea Markus

    How Infinispan 6.0.0.Final load cache store? Since it removed org.inifinispan.configuration.cache.configurationbuilder.loader()

    Gabriel wei Newbie

      From document, the code as follow is anywhere,

      Configuration cacheConfig = new ConfigurationBuilder().loaders()

                      .addLoader(LevelDBCacheStoreConfigurationBuilder.class)

                      .location("/tmp/leveldb/data")

                      .expiredLocation("/tmp/leveldb/expired")

                      .entityClass(User.class)

                      .build();

       

      but actually from version 6, infinispan has removed the method loaders(). Then how could I configure like in version 5?