Infinispan Cache Container API: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:


* [[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>=
=<tt>RemoteCacheManager</tt>=
<pre>
Configuration c = new ConfigurationBuilder().addServer().host(initialHost).port(port).build();
RemoteCacheManager rcm = new RemoteCacheManager(c);
</pre>


=<tt>EmbeddedCacheManager</tt>=
=<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( [...] );