Interface InfinispanConfiguration

All Superinterfaces:
CacheConfiguration

public interface InfinispanConfiguration extends CacheConfiguration
Author:
Paul Ferraro
  • Method Summary

    Modifier and Type
    Method
    Description
     
    default org.infinispan.util.concurrent.BlockingManager
     
    <K, V> org.infinispan.Cache<K,V>
     
     
    default <K, V> org.infinispan.Cache<K,V>
    Returns a cache with select-for-update semantics.
    default <K, V> org.infinispan.Cache<K,V>
    Returns a cache whose write operations do not trigger cache listeners.
    default <K, V> org.infinispan.Cache<K,V>
    Returns a cache with try-lock write semantic, e.g. whose write operations will return null if another transaction owns the write lock.
    default <K, V> org.infinispan.Cache<K,V>
    Returns a cache with select-for-update and try-lock semantics.
    default <K, V> org.infinispan.Cache<K,V>
    Returns a cache for use with write-only operations, e.g. put/remove where previous values are not needed.
  • Method Details

    • getCache

      <K, V> org.infinispan.Cache<K,V> getCache()
      Specified by:
      getCache in interface CacheConfiguration
    • getCacheProperties

      default CacheProperties getCacheProperties()
      Specified by:
      getCacheProperties in interface CacheConfiguration
    • getReadForUpdateCache

      default <K, V> org.infinispan.Cache<K,V> getReadForUpdateCache()
      Returns a cache with select-for-update semantics.
      Type Parameters:
      K - the cache key type
      V - the cache value type
      Returns:
      a cache with select-for-update semantics.
    • getTryLockCache

      default <K, V> org.infinispan.Cache<K,V> getTryLockCache()
      Returns a cache with try-lock write semantic, e.g. whose write operations will return null if another transaction owns the write lock.
      Type Parameters:
      K - the cache key type
      V - the cache value type
      Returns:
      a cache with try-lock semantics.
    • getTryReadForUpdateCache

      default <K, V> org.infinispan.Cache<K,V> getTryReadForUpdateCache()
      Returns a cache with select-for-update and try-lock semantics.
      Type Parameters:
      K - the cache key type
      V - the cache value type
      Returns:
      a cache with try-lock and 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 type
      V - 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 type
      V - the cache value type
      Returns:
      a cache whose write operations do not trigger cache listeners.
    • getBatcher

      default Batcher<TransactionBatch> getBatcher()
      Specified by:
      getBatcher in interface CacheConfiguration
    • getBlockingManager

      default org.infinispan.util.concurrent.BlockingManager getBlockingManager()