Class 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>>