Class RemoteCacheMutatorFactory<K,​V>

  • All Implemented Interfaces:
    org.wildfly.clustering.ee.MutatorFactory<K,​V>

    public class RemoteCacheMutatorFactory<K,​V>
    extends Object
    implements org.wildfly.clustering.ee.MutatorFactory<K,​V>
    Factory for creating a Mutator for a remote cache entry.
    Author:
    Paul Ferraro
    • Constructor Detail

      • RemoteCacheMutatorFactory

        public RemoteCacheMutatorFactory​(org.infinispan.client.hotrod.RemoteCache<K,​V> cache)
      • RemoteCacheMutatorFactory

        public RemoteCacheMutatorFactory​(org.infinispan.client.hotrod.RemoteCache<K,​V> cache,
                                         Function<V,​Duration> maxIdle)
    • Method Detail

      • createMutator

        public org.wildfly.clustering.ee.Mutator createMutator​(K key,
                                                               V value)
        Specified by:
        createMutator in interface org.wildfly.clustering.ee.MutatorFactory<K,​V>