org.infinispan.hotrod.multimap.RemoteMultimapCache Maven / Gradle / Ivy
The newest version!
package org.infinispan.hotrod.multimap;
import java.util.Collection;
import java.util.concurrent.CompletionStage;
import org.infinispan.api.common.CacheEntryCollection;
import org.infinispan.api.common.CacheOptions;
import org.infinispan.api.common.CacheWriteOptions;
/**
* @param
* @param
* @since 14.0
*/
public interface RemoteMultimapCache {
CompletionStage> getWithMetadata(K key, CacheOptions options);
CompletionStage put(K key, V value, CacheWriteOptions options);
CompletionStage> get(K key, CacheOptions options);
CompletionStage remove(K key, CacheOptions options);
CompletionStage remove(K key, V value, CacheOptions options);
CompletionStage containsKey(K key, CacheOptions options);
CompletionStage containsValue(V value, CacheOptions options);
CompletionStage containsEntry(K key, V value, CacheOptions options);
CompletionStage size(CacheOptions options);
boolean supportsDuplicates();
}