Class RemoteCacheEntryComputerFactory<K,V,O>

java.lang.Object
org.wildfly.clustering.cache.infinispan.remote.RemoteCacheEntryComputerFactory<K,V,O>
Type Parameters:
K - the cache key type
V - the cache value type
O - the function operand type
All Implemented Interfaces:
org.wildfly.clustering.cache.CacheEntryMutatorFactory<K,O>

public class RemoteCacheEntryComputerFactory<K,V,O> extends Object implements org.wildfly.clustering.cache.CacheEntryMutatorFactory<K,O>
Factory that creates compute-based Mutator instances.
Author:
Paul Ferraro
  • Constructor Details

    • RemoteCacheEntryComputerFactory

      public RemoteCacheEntryComputerFactory(org.infinispan.client.hotrod.RemoteCache<K,V> cache, org.infinispan.client.hotrod.Flag[] flags, Function<O,BiFunction<Object,V,V>> functionFactory)
  • Method Details

    • createMutator

      public org.wildfly.clustering.cache.CacheEntryMutator createMutator(K key, O operand)
      Specified by:
      createMutator in interface org.wildfly.clustering.cache.CacheEntryMutatorFactory<K,V>