All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.infinispan.client.hotrod.multimap.MultimapCacheManager Maven / Gradle / Ivy

The newest version!
package org.infinispan.client.hotrod.multimap;

import org.infinispan.commons.util.Experimental;

@Experimental
public interface MultimapCacheManager {

   /**
    * Retrieves a named multimap cache from the system.
    *
    * @param name, name of multimap cache to retrieve
    * @return null if no configuration exists as per rules set above, otherwise returns a multimap cache instance
    * identified by cacheName and doesn't support duplicates
    */
   default RemoteMultimapCache get(String name) {
      return get(name, false);
   }

   /**
    * Retrieves a named multimap cache from the system.
    *
    * @param name, name of multimap cache to retrieve
    * @param supportsDuplicates, boolean check for identifying whether it supports duplicates or not.
    * @return null if no configuration exists as per rules set above, otherwise returns a multimap cache instance
    * identified by cacheName
    */
   RemoteMultimapCache get(String name, boolean supportsDuplicates);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy