Package org.infinispan.multimap.impl
Class EmbeddedMultimapCacheManager<K,V>
java.lang.Object
org.infinispan.multimap.impl.EmbeddedMultimapCacheManager<K,V>
- All Implemented Interfaces:
MultimapCacheManager<K,V>
Embedded implementation of
MultimapCacheManager- Since:
- 9.2
- Author:
- Katia Aresti, karesti@redhat.com
-
Constructor Summary
ConstructorsConstructorDescriptionEmbeddedMultimapCacheManager(EmbeddedCacheManager embeddedMultimapCacheManager) -
Method Summary
Modifier and TypeMethodDescriptiondefineConfiguration(String name, Configuration configuration) Defines a named multimap cache's configuration by using the provided configuration If this cache was already configured either declaritively or programmatically this method will throw aCacheConfigurationException.Retrieves a named multimap cache from the system.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.infinispan.multimap.api.embedded.MultimapCacheManager
get
-
Constructor Details
-
EmbeddedMultimapCacheManager
-
-
Method Details
-
defineConfiguration
Description copied from interface:MultimapCacheManagerDefines a named multimap cache's configuration by using the provided configuration If this cache was already configured either declaritively or programmatically this method will throw aCacheConfigurationException. Currenly, the MultimapCache with the given name "foo" can be also accessed as a regular cache named "foo".- Specified by:
defineConfigurationin interfaceMultimapCacheManager<K,V> - Parameters:
name- name of multimap cache whose configuration is being definedconfiguration- configuration overrides to use- Returns:
- a cloned configuration instance
-
get
Description copied from interface:MultimapCacheManagerRetrieves a named multimap cache from the system.- Specified by:
getin interfaceMultimapCacheManager<K,V> - Parameters:
name- , name of multimap cache to retrievesupportsDuplicates- , 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
-