Class CacheEntryComputeMutator<K,V>

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

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

    • CacheEntryComputeMutator

      public CacheEntryComputeMutator(org.infinispan.Cache<K,V> cache, K key, BiFunction<Object,V,V> function)
  • Method Details

    • mutate

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