Class PutIfAbsentOperation<K,V>

java.lang.Object
java.util.concurrent.CompletableFuture<org.infinispan.api.common.CacheEntry<K,V>>
org.infinispan.hotrod.impl.operations.HotRodOperation<org.infinispan.api.common.CacheEntry<K,V>>
org.infinispan.hotrod.impl.operations.RetryOnFailureOperation<org.infinispan.api.common.CacheEntry<K,V>>
org.infinispan.hotrod.impl.operations.StatsAffectingRetryingOperation<org.infinispan.api.common.CacheEntry<K,V>>
org.infinispan.hotrod.impl.operations.AbstractKeyOperation<K,org.infinispan.api.common.CacheEntry<K,V>>
org.infinispan.hotrod.impl.operations.AbstractKeyValueOperation<K,org.infinispan.api.common.CacheEntry<K,V>>
org.infinispan.hotrod.impl.operations.AbstractPutIfAbsentOperation<K,org.infinispan.api.common.CacheEntry<K,V>>
org.infinispan.hotrod.impl.operations.PutIfAbsentOperation<K,V>
All Implemented Interfaces:
Runnable, CompletionStage<org.infinispan.api.common.CacheEntry<K,V>>, Future<org.infinispan.api.common.CacheEntry<K,V>>, HotRodConstants, ChannelOperation

public class PutIfAbsentOperation<K,V> extends AbstractPutIfAbsentOperation<K,org.infinispan.api.common.CacheEntry<K,V>>
Implements "putIfAbsent" operation as described in Hot Rod protocol specification.
Since:
14.0
  • Constructor Details

    • PutIfAbsentOperation

      public PutIfAbsentOperation(OperationContext operationContext, K key, byte[] keyBytes, byte[] value, org.infinispan.api.common.CacheWriteOptions options, DataFormat dataFormat)
  • Method Details

    • flags

      protected int flags()
      Overrides:
      flags in class HotRodOperation<org.infinispan.api.common.CacheEntry<K,V>>