public interface RemoteCacheContainer
extends org.infinispan.client.hotrod.RemoteCacheContainer
org.wildfly.clustering.infinispan.client.client.hotrod.RemoteCacheContainer additionally exposing the name of the
remote cache container, an administration utility, and a mechanism for configuring near caching per remote cache.| Modifier and Type | Interface and Description |
|---|---|
static interface |
RemoteCacheContainer.NearCacheRegistration |
| Modifier and Type | Method and Description |
|---|---|
org.infinispan.client.hotrod.RemoteCacheManagerAdmin |
administration()
Returns administration utility to administer (create, remove or reindex) caches.
|
String |
getName()
Returns the name of this remote cache container.
|
<K,V> RemoteCacheContainer.NearCacheRegistration |
registerNearCacheFactory(String cacheName,
Function<org.infinispan.client.hotrod.event.impl.ClientListenerNotifier,org.infinispan.client.hotrod.near.NearCacheService<K,V>> factory)
Registers a factory for creating a near cache for a given cache.
|
getCache, getCache, getCache, getCache, getCache, getCache, getCache, getCache, getConfiguration, getMarshaller, isStarted, switchToCluster, switchToDefaultClusterString getName()
org.infinispan.client.hotrod.RemoteCacheManagerAdmin administration()
<K,V> RemoteCacheContainer.NearCacheRegistration registerNearCacheFactory(String cacheName, Function<org.infinispan.client.hotrod.event.impl.ClientListenerNotifier,org.infinispan.client.hotrod.near.NearCacheService<K,V>> factory)
K - the cache keyV - the cache valuecacheName - the name of a remote cachefactory - a factory for creating a near cacheCopyright © 2019 JBoss by Red Hat. All rights reserved.