Class RemoteCacheEntryComputeMutator<K,​V>

  • Type Parameters:
    K - the cache key type
    V - the cache value type
    All Implemented Interfaces:
    Mutator

    public class RemoteCacheEntryComputeMutator<K,​V>
    extends Object
    implements Mutator
    Mutator for a cache entry using a compute function.
    Author:
    Paul Ferraro
    • Constructor Detail

      • 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 Detail

      • mutate

        public void mutate()
        Specified by:
        mutate in interface Mutator