Class CacheComputeMutatorFactory<K,V,O>
- java.lang.Object
-
- org.wildfly.clustering.ee.infinispan.CacheComputeMutatorFactory<K,V,O>
-
- Type Parameters:
K- the cache key typeV- the cache value typeO- the function operand type
- All Implemented Interfaces:
MutatorFactory<K,O>
public class CacheComputeMutatorFactory<K,V,O> extends Object implements MutatorFactory<K,O>
Factory that creates compute-based Mutator instances.- Author:
- Paul Ferraro
-
-
Constructor Summary
Constructors Constructor Description CacheComputeMutatorFactory(org.infinispan.Cache<K,V> cache, Function<O,BiFunction<Object,V,V>> functionFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MutatorcreateMutator(K key, O operand)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.wildfly.clustering.ee.MutatorFactory
createMutator
-
-
-
-
Method Detail
-
createMutator
public Mutator createMutator(K key, O operand)
- Specified by:
createMutatorin interfaceMutatorFactory<K,V>
-
-