Class RemoteCacheMutatorFactory<K,V>

java.lang.Object
org.wildfly.clustering.cache.infinispan.remote.RemoteCacheMutatorFactory<K,V>
All Implemented Interfaces:
org.wildfly.clustering.cache.CacheEntryMutatorFactory<K,V>

public class RemoteCacheMutatorFactory<K,V> extends Object implements org.wildfly.clustering.cache.CacheEntryMutatorFactory<K,V>
Factory for creating a CacheEntryMutator for a remote cache entry.
Author:
Paul Ferraro
  • Constructor Details

    • RemoteCacheMutatorFactory

      public RemoteCacheMutatorFactory(org.infinispan.client.hotrod.RemoteCache<K,V> cache, org.infinispan.client.hotrod.Flag[] flags)
    • RemoteCacheMutatorFactory

      public RemoteCacheMutatorFactory(org.infinispan.client.hotrod.RemoteCache<K,V> cache, org.infinispan.client.hotrod.Flag[] flags, Function<V,Duration> maxIdle)
  • Method Details

    • createMutator

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