Infinispan Cache Container API: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
* [[Infinispan_Concepts#Cache_Container|Infinispan Concepts]] | * [[Infinispan_Concepts#Cache_Container|Infinispan Concepts]] | ||
= | =TODO= | ||
* http://infinispan.org/docs/8.0.x/user_guide/user_guide.html#configuring_cache | |||
=<tt>RemoteCacheManager</tt>= | |||
<pre> | |||
Configuration c = new ConfigurationBuilder().addServer().host(initialHost).port(port).build(); | |||
RemoteCacheManager rcm = new RemoteCacheManager(c); | |||
</pre> | |||
=<tt>EmbeddedCacheManager</tt>= | |||
<pre> | |||
EmbeddedCacheManager cm = new DefaultCacheManager( [...] ); | |||
</pre> |
Latest revision as of 19:03, 4 May 2017
Internal
TODO
RemoteCacheManager
Configuration c = new ConfigurationBuilder().addServer().host(initialHost).port(port).build(); RemoteCacheManager rcm = new RemoteCacheManager(c);
EmbeddedCacheManager
EmbeddedCacheManager cm = new DefaultCacheManager( [...] );