Class RemoteCacheEntryComputer<K,V>
java.lang.Object
org.wildfly.clustering.cache.infinispan.remote.RemoteCacheEntryComputer<K,V>
- Type Parameters:
K- the cache key typeV- the cache value type
- All Implemented Interfaces:
org.wildfly.clustering.cache.CacheEntryMutator
public class RemoteCacheEntryComputer<K,V>
extends Object
implements org.wildfly.clustering.cache.CacheEntryMutator
Mutator for a cache entry using a compute function.
- Author:
- Paul Ferraro
-
Field Summary
Fields inherited from interface org.wildfly.clustering.cache.CacheEntryMutator
NO_OP -
Constructor Summary
ConstructorsConstructorDescriptionRemoteCacheEntryComputer(org.infinispan.client.hotrod.RemoteCache<K, V> cache, org.infinispan.client.hotrod.Flag[] flags, K key, BiFunction<Object, V, V> function) RemoteCacheEntryComputer(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 Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.wildfly.clustering.cache.CacheEntryMutator
mutate
-
Constructor Details
-
RemoteCacheEntryComputer
-
RemoteCacheEntryComputer
-
-
Method Details
-
mutateAsync
- Specified by:
mutateAsyncin interfaceorg.wildfly.clustering.cache.CacheEntryMutator
-