Class RemoteMultimapCacheImpl<K,​V>

    • Method Detail

      • init

        public void init()
      • put

        public CompletableFuture<Void> put​(K key,
                                           V value)
        Specified by:
        put in interface org.infinispan.multimap.api.BasicMultimapCache<K,​V>
      • getWithMetadata

        public CompletableFuture<MetadataCollection<V>> getWithMetadata​(K key)
        Description copied from interface: RemoteMultimapCache
        Returns a 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.
        Specified by:
        getWithMetadata in interface RemoteMultimapCache<K,​V>
        Parameters:
        key - to be retrieved
        Returns:
        the collection with the metadata of the given key
      • remove

        public CompletableFuture<Boolean> remove​(K key)
        Specified by:
        remove in interface org.infinispan.multimap.api.BasicMultimapCache<K,​V>
      • remove

        public CompletableFuture<Boolean> remove​(K key,
                                                 V value)
        Specified by:
        remove in interface org.infinispan.multimap.api.BasicMultimapCache<K,​V>
      • containsKey

        public CompletableFuture<Boolean> containsKey​(K key)
        Specified by:
        containsKey in interface org.infinispan.multimap.api.BasicMultimapCache<K,​V>
      • containsValue

        public CompletableFuture<Boolean> containsValue​(V value)
        Specified by:
        containsValue in interface org.infinispan.multimap.api.BasicMultimapCache<K,​V>
      • containsEntry

        public CompletableFuture<Boolean> containsEntry​(K key,
                                                        V value)
        Specified by:
        containsEntry in interface org.infinispan.multimap.api.BasicMultimapCache<K,​V>
      • size

        public CompletableFuture<Long> size()
        Specified by:
        size in interface org.infinispan.multimap.api.BasicMultimapCache<K,​V>
      • supportsDuplicates

        public boolean supportsDuplicates()
        Specified by:
        supportsDuplicates in interface org.infinispan.multimap.api.BasicMultimapCache<K,​V>