Interface InfinispanConfiguration
-
- All Superinterfaces:
CacheConfiguration
public interface InfinispanConfiguration extends CacheConfiguration
- Author:
- Paul Ferraro
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default org.wildfly.clustering.ee.Batcher<TransactionBatch>getBatcher()<K,V>
org.infinispan.Cache<K,V>getCache()default CachePropertiesgetCacheProperties()default <K,V>
org.infinispan.Cache<K,V>getReadForUpdateCache()Returns a cache with select-for-update semantics.default <K,V>
org.infinispan.Cache<K,V>getSilentWriteCache()Returns a cache whose write operations do not trigger cache listeners.default <K,V>
org.infinispan.Cache<K,V>getWriteOnlyCache()Returns a cache for use with write-only operations, e.g.
-
-
-
Method Detail
-
getCache
<K,V> org.infinispan.Cache<K,V> getCache()
- Specified by:
getCachein interfaceCacheConfiguration
-
getCacheProperties
default CacheProperties getCacheProperties()
- Specified by:
getCachePropertiesin interfaceCacheConfiguration
-
getReadForUpdateCache
default <K,V> org.infinispan.Cache<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.
-
getWriteOnlyCache
default <K,V> org.infinispan.Cache<K,V> getWriteOnlyCache()
Returns a cache for use with write-only operations, e.g. put/remove where previous values are not needed.- Type Parameters:
K- the cache key typeV- the cache value type- Returns:
- a cache for use with write-only operations.
-
getSilentWriteCache
default <K,V> org.infinispan.Cache<K,V> getSilentWriteCache()
Returns a cache whose write operations do not trigger cache listeners.- Type Parameters:
K- the cache key typeV- the cache value type- Returns:
- a cache whose write operations do not trigger cache listeners.
-
getBatcher
default org.wildfly.clustering.ee.Batcher<TransactionBatch> getBatcher()
- Specified by:
getBatcherin interfaceCacheConfiguration
-
-