Class RemoteCacheEntryComputeMutator<K,V>

java.lang.Object
org.wildfly.clustering.cache.infinispan.remote.RemoteCacheEntryComputeMutator<K,V>
Type Parameters:
K - the cache key type
V - the cache value type
All Implemented Interfaces:
org.wildfly.clustering.cache.CacheEntryMutator

public class RemoteCacheEntryComputeMutator<K,V> extends Object implements org.wildfly.clustering.cache.CacheEntryMutator
Mutator for a cache entry using a compute function.
Author:
Paul Ferraro
  • Constructor Details

    • RemoteCacheEntryComputeMutator

      public RemoteCacheEntryComputeMutator(org.infinispan.client.hotrod.RemoteCache<K,V> cache, org.infinispan.client.hotrod.Flag[] flags, K key, BiFunction<Object,V,V> function)
    • RemoteCacheEntryComputeMutator

      public RemoteCacheEntryComputeMutator(org.infinispan.client.hotrod.RemoteCache<K,V> cache, org.infinispan.client.hotrod.Flag[] flags, K key, BiFunction<Object,V,V> function, Supplier<Duration> maxIdle)
  • Method Details

    • mutateAsync

      public CompletionStage<Void> mutateAsync()
      Specified by:
      mutateAsync in interface org.wildfly.clustering.cache.CacheEntryMutator