Class AbstractCacheEntryMutator

java.lang.Object
org.wildfly.clustering.cache.infinispan.AbstractCacheEntryMutator
All Implemented Interfaces:
Runnable, Supplier<Duration>, org.wildfly.clustering.cache.CacheEntryMutator, org.wildfly.clustering.function.Runner

public abstract class AbstractCacheEntryMutator extends Object implements org.wildfly.clustering.cache.CacheEntryMutator, Supplier<Duration>
Abstract mutator providing max-idle customization.
Author:
Paul Ferraro
  • Field Summary

    Fields inherited from interface org.wildfly.clustering.cache.CacheEntryMutator

    EMPTY, LOGGER
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Creates a immortal cache entry mutator.
  • Method Summary

    Modifier and Type
    Method
    Description
    get()
     
    org.wildfly.clustering.cache.CacheEntryMutator
     

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.wildfly.clustering.cache.CacheEntryMutator

    run, runAsync

    Methods inherited from interface org.wildfly.clustering.function.Runner

    andThen, compose, handle
  • Constructor Details

    • AbstractCacheEntryMutator

      protected AbstractCacheEntryMutator()
      Creates a immortal cache entry mutator.
  • Method Details

    • withMaxIdle

      public org.wildfly.clustering.cache.CacheEntryMutator withMaxIdle(Supplier<Duration> maxIdle)
      Specified by:
      withMaxIdle in interface org.wildfly.clustering.cache.CacheEntryMutator
    • get

      public Duration get()
      Specified by:
      get in interface Supplier<Duration>