public interface RemoteCacheContainer
extends org.infinispan.client.hotrod.RemoteCacheContainer, org.infinispan.client.hotrod.jmx.RemoteCacheManagerMXBean
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.
|
default <K,V> org.infinispan.client.hotrod.RemoteCache<K,V> |
getCache() |
default <K,V> org.infinispan.client.hotrod.RemoteCache<K,V> |
getCache(String cacheName) |
default <K,V> org.infinispan.client.hotrod.RemoteCache<K,V> |
getCache(String cacheName,
org.infinispan.client.hotrod.configuration.TransactionMode transactionMode,
TransactionManager transactionManager) |
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.
|
String getName()
org.infinispan.client.hotrod.RemoteCacheManagerAdmin administration()
default <K,V> org.infinispan.client.hotrod.RemoteCache<K,V> getCache()
getCache in interface org.infinispan.commons.api.BasicCacheContainerdefault <K,V> org.infinispan.client.hotrod.RemoteCache<K,V> getCache(String cacheName)
getCache in interface org.infinispan.commons.api.BasicCacheContainerdefault <K,V> org.infinispan.client.hotrod.RemoteCache<K,V> getCache(String cacheName, org.infinispan.client.hotrod.configuration.TransactionMode transactionMode, TransactionManager transactionManager)
getCache in interface org.infinispan.client.hotrod.RemoteCacheContainer<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.