-
1. Re: config cassandra loader
gromero Sep 3, 2013 9:50 AM (in response to gromero)someone may response something?.
-
2. Re: config cassandra loader
nadirx Sep 4, 2013 2:25 AM (in response to gromero)You either need to revert to Infinispan Server 5.3 and use the property-based <store> element or wait for Infinispan 6's cachestore SPI refactoring before the cassandra store will work again.
-
3. Re: config cassandra loader
gromero Sep 4, 2013 8:44 AM (in response to nadirx)Thanks!!!!! I'll become to the 5.3GA version.
Which is the better way for using the hotrod client with more than 2 servers?.
Is that way the correct to have a Singleton client?. Because it is so expensive if I execute the remoteCacheManager(b.build) in each time I need to access the cache.
if(cacheContainer == null){
//the configuration builder for running the hot rod client manager.
ConfigurationBuilder b = new ConfigurationBuilder();
b.addServers("X.X.X.X:11222;Y.Y.Y.Y:11222");
b.tcpNoDelay(true);
b.balancingStrategy(RoundRobinBalancingStrategy.class);
//b.pingOnStartup(true);
cacheContainer = new RemoteCacheManager(b.build());
}