Infinispan Cache Container API

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

Internal

RemoteCacheManager

Configuration c = new ConfigurationBuilder().addServer().host(initialHost).port(port).build();
RemoteCacheManager rcm = new RemoteCacheManager(c);

EmbeddedCacheManager

EmbeddedCacheManager cm = new DefaultCacheManager( [...] );