Class MultimapOperationsFactory
java.lang.Object
org.infinispan.client.hotrod.impl.multimap.operations.MultimapOperationsFactory
Factory for
HotRodOperation objects on Multimap.- Since:
- 9.2
- Author:
- karesti@redhat.com
-
Constructor Summary
ConstructorsConstructorDescriptionMultimapOperationsFactory(ChannelFactory channelFactory, String cacheName, Configuration cfg, DataFormat dataFormat, ClientStatistics clientStatistics) -
Method Summary
Modifier and TypeMethodDescriptionintflags()newContainsEntryOperation(K key, byte[] keyBytes, byte[] value, boolean supportsDuplicates) newContainsKeyOperation(K key, byte[] keyBytes, boolean supportsDuplicates) newContainsValueOperation(byte[] value, boolean supportsDuplicates) <K,V> GetKeyMultimapOperation <V> newGetKeyMultimapOperation(K key, byte[] keyBytes, boolean supportsDuplicates) <K,V> GetKeyWithMetadataMultimapOperation <V> newGetKeyWithMetadataMultimapOperation(K key, byte[] keyBytes, boolean supportsDuplicates) newPutKeyValueOperation(K key, byte[] keyBytes, byte[] value, long lifespan, TimeUnit lifespanTimeUnit, long maxIdle, TimeUnit maxIdleTimeUnit, boolean supportsDuplicates) newRemoveEntryOperation(K key, byte[] keyBytes, byte[] value, boolean supportsDuplicates) newRemoveKeyOperation(K key, byte[] keyBytes, boolean supportsDuplicates) newSizeOperation(boolean supportsDuplicates)
-
Constructor Details
-
MultimapOperationsFactory
public MultimapOperationsFactory(ChannelFactory channelFactory, String cacheName, Configuration cfg, DataFormat dataFormat, ClientStatistics clientStatistics)
-
-
Method Details
-
newGetKeyMultimapOperation
public <K,V> GetKeyMultimapOperation<V> newGetKeyMultimapOperation(K key, byte[] keyBytes, boolean supportsDuplicates) -
newGetKeyWithMetadataMultimapOperation
public <K,V> GetKeyWithMetadataMultimapOperation<V> newGetKeyWithMetadataMultimapOperation(K key, byte[] keyBytes, boolean supportsDuplicates) -
newPutKeyValueOperation
public <K> PutKeyValueMultimapOperation newPutKeyValueOperation(K key, byte[] keyBytes, byte[] value, long lifespan, TimeUnit lifespanTimeUnit, long maxIdle, TimeUnit maxIdleTimeUnit, boolean supportsDuplicates) -
newRemoveKeyOperation
public <K> RemoveKeyMultimapOperation newRemoveKeyOperation(K key, byte[] keyBytes, boolean supportsDuplicates) -
newRemoveEntryOperation
public <K> RemoveEntryMultimapOperation newRemoveEntryOperation(K key, byte[] keyBytes, byte[] value, boolean supportsDuplicates) -
newContainsEntryOperation
public <K> ContainsEntryMultimapOperation newContainsEntryOperation(K key, byte[] keyBytes, byte[] value, boolean supportsDuplicates) -
newContainsKeyOperation
public <K> ContainsKeyMultimapOperation newContainsKeyOperation(K key, byte[] keyBytes, boolean supportsDuplicates) -
newContainsValueOperation
public ContainsValueMultimapOperation newContainsValueOperation(byte[] value, boolean supportsDuplicates) -
newSizeOperation
-
flags
public int flags()
-