Class EmbeddedMultimapCacheManager<K,V>

java.lang.Object
org.infinispan.multimap.impl.EmbeddedMultimapCacheManager<K,V>
All Implemented Interfaces:
MultimapCacheManager<K,V>

public class EmbeddedMultimapCacheManager<K,V> extends Object implements MultimapCacheManager<K,V>
Embedded implementation of MultimapCacheManager
Since:
9.2
Author:
Katia Aresti, karesti@redhat.com
  • Constructor Details

    • EmbeddedMultimapCacheManager

      public EmbeddedMultimapCacheManager(EmbeddedCacheManager embeddedMultimapCacheManager)
  • Method Details

    • defineConfiguration

      public Configuration defineConfiguration(String name, Configuration configuration)
      Description copied from interface: MultimapCacheManager
      Defines a named multimap cache's configuration by using the provided configuration If this cache was already configured, either declaratively or programmatically, this method will throw a CacheConfigurationException. Currently, the MultimapCache with the given name "foo" can be also accessed as a regular cache named "foo".
      Specified by:
      defineConfiguration in interface MultimapCacheManager<K,V>
      Parameters:
      name - name of multimap cache whose configuration is being defined
      configuration - configuration overrides to use
      Returns:
      a cloned configuration instance
    • get

      public MultimapCache<K,V> get(String name, boolean supportsDuplicates)
      Description copied from interface: MultimapCacheManager
      Retrieves a named multimap cache from the system.
      Specified by:
      get in interface MultimapCacheManager<K,V>
      Parameters:
      name - , name of multimap cache to retrieve
      supportsDuplicates - , boolean check to see whether duplicates are supported or not
      Returns:
      null if no configuration exists as per rules set above, otherwise returns a multimap cache instance identified by cacheName
    • getMultimapList

      public EmbeddedMultimapListCache<K,V> getMultimapList(String cacheName)
      Provides an api to manipulate key/values with lists.
      Parameters:
      cacheName - , name of the cache
      Returns:
      EmbeddedMultimapListCache
    • getMultimapSortedSet

      public EmbeddedMultimapSortedSetCache<K,V> getMultimapSortedSet(String cacheName)
      Provides an api to manipulate key/values with sorted sets.
      Parameters:
      cacheName - , name of the cache
      Returns:
      EmbeddedMultimapSortedSetCache
    • getMultimapPair

      public <HK, HV> EmbeddedMultimapPairCache<K,HK,HV> getMultimapPair(String cacheName)