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

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

There is a newer version: 15.1.1.Final
Show newest version
package org.infinispan.client.hotrod.multimap;

import java.util.concurrent.CompletableFuture;

import org.infinispan.commons.api.multimap.BasicMultimapCache;

/**
 * Remote MultimapCache interface used for server mode.
 *
 * @author Katia Aresti, [email protected]
 * @see Infinispan documentation
 * @since 9.2
 */
public interface RemoteMultimapCache extends BasicMultimapCache {

   /**
    * Returns a {@link MetadataCollection} of the values associated with key in this multimap cache,
    * if any. Any changes to the retrieved collection won't change the values in this multimap cache.
    * When this method returns an empty metadata collection, it means the key was not found.
    *
    * @param key to be retrieved
    * @return the collection with the metadata of the given key
    */
   CompletableFuture> getWithMetadata(K key);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy