Interface RemoteCacheConfiguration
- All Superinterfaces:
BasicCacheConfiguration,BasicCacheContainerConfiguration,org.wildfly.clustering.cache.CacheConfiguration,RemoteCacheContainerConfiguration
public interface RemoteCacheConfiguration
extends RemoteCacheContainerConfiguration, BasicCacheConfiguration
Configuration identifying a remote cache.
- Author:
- Paul Ferraro
-
Method Summary
Modifier and TypeMethodDescription<K,V> org.infinispan.client.hotrod.RemoteCache <K, V> getCache()default org.infinispan.client.hotrod.RemoteCacheContainerdefault <K,V> org.wildfly.clustering.cache.CacheEntryMutatorFactory <K, V> default <K,V, O> org.wildfly.clustering.cache.CacheEntryMutatorFactory <K, O> getCacheEntryMutatorFactory(Function<O, BiFunction<Object, V, V>> functionFactory) default org.wildfly.clustering.cache.CachePropertiesdefault Executordefault <K,V> org.infinispan.client.hotrod.RemoteCache <K, V> default <K,V> org.infinispan.client.hotrod.RemoteCache <K, V> default org.infinispan.client.hotrod.configuration.NearCacheModedefault <K,V> org.infinispan.client.hotrod.RemoteCache <K, V> Returns a cache with select-for-update semantics.default jakarta.transaction.TransactionManagerMethods inherited from interface org.wildfly.clustering.cache.infinispan.BasicCacheConfiguration
getBatchFactory
-
Method Details
-
getCache
<K,V> org.infinispan.client.hotrod.RemoteCache<K,V> getCache()- Specified by:
getCachein interfaceBasicCacheConfiguration
-
getCacheEntryMutatorFactory
default <K,V> org.wildfly.clustering.cache.CacheEntryMutatorFactory<K,V> getCacheEntryMutatorFactory()- Specified by:
getCacheEntryMutatorFactoryin interfaceBasicCacheConfiguration
-
getCacheEntryMutatorFactory
default <K,V, org.wildfly.clustering.cache.CacheEntryMutatorFactory<K,O> O> getCacheEntryMutatorFactory(Function<O, BiFunction<Object, V, V>> functionFactory) - Specified by:
getCacheEntryMutatorFactoryin interfaceBasicCacheConfiguration
-
getCacheContainer
default org.infinispan.client.hotrod.RemoteCacheContainer getCacheContainer()- Specified by:
getCacheContainerin interfaceBasicCacheContainerConfiguration- Specified by:
getCacheContainerin interfaceRemoteCacheContainerConfiguration
-
getExecutor
- Specified by:
getExecutorin interfaceBasicCacheContainerConfiguration
-
getTransactionManager
default jakarta.transaction.TransactionManager getTransactionManager()- Specified by:
getTransactionManagerin interfaceBasicCacheConfiguration
-
getReadForUpdateCache
default <K,V> org.infinispan.client.hotrod.RemoteCache<K,V> getReadForUpdateCache()Returns a cache with select-for-update semantics.- Type Parameters:
K- the cache key typeV- the cache value type- Returns:
- a cache with select-for-update semantics.
-
getIgnoreReturnCache
default <K,V> org.infinispan.client.hotrod.RemoteCache<K,V> getIgnoreReturnCache() -
getForceReturnCache
default <K,V> org.infinispan.client.hotrod.RemoteCache<K,V> getForceReturnCache() -
getNearCacheMode
default org.infinispan.client.hotrod.configuration.NearCacheMode getNearCacheMode() -
getCacheProperties
default org.wildfly.clustering.cache.CacheProperties getCacheProperties()- Specified by:
getCachePropertiesin interfaceBasicCacheConfiguration- Specified by:
getCachePropertiesin interfaceorg.wildfly.clustering.cache.CacheConfiguration
-