Class RemoteMultimapCacheImpl<K,V>
java.lang.Object
org.infinispan.client.hotrod.impl.multimap.RemoteMultimapCacheImpl<K,V>
- All Implemented Interfaces:
RemoteMultimapCache<K,,V> org.infinispan.multimap.api.BasicMultimapCache<K,V>
Remote implementation of
RemoteMultimapCache- Since:
- 9.2
- Author:
- karesti@redhat.com
-
Constructor Summary
ConstructorsConstructorDescriptionRemoteMultimapCacheImpl(RemoteCacheManager rcm, RemoteCache<K, Collection<V>> cache) RemoteMultimapCacheImpl(RemoteCacheManager rcm, RemoteCache<K, Collection<V>> cache, boolean supportsDuplicates) -
Method Summary
Modifier and TypeMethodDescriptioncontainsEntry(K key, V value) containsKey(K key) containsValue(V value) getWithMetadata(K key) Returns aMetadataCollection<V>of the values associated with key in this multimap cache, if any.voidinit()size()boolean
-
Constructor Details
-
RemoteMultimapCacheImpl
-
RemoteMultimapCacheImpl
public RemoteMultimapCacheImpl(RemoteCacheManager rcm, RemoteCache<K, Collection<V>> cache, boolean supportsDuplicates)
-
-
Method Details
-
init
public void init() -
put
-
get
-
getWithMetadata
Description copied from interface:RemoteMultimapCacheReturns aMetadataCollection<V>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:
getWithMetadatain interfaceRemoteMultimapCache<K,V> - Parameters:
key- to be retrieved- Returns:
- the collection with the metadata of the given key
-
remove
-
remove
-
containsKey
-
containsValue
-
containsEntry
-
size
-
supportsDuplicates
public boolean supportsDuplicates()
-