Interface CacheEntryMutatorFactory<K,V>


public interface CacheEntryMutatorFactory<K,V>
Creates a mutator instance for a given cache entry.
Author:
Paul Ferraro
  • Method Details

    • createMutator

      default CacheEntryMutator createMutator(Map.Entry<K,V> entry)
      Creates a mutator for the specified cache entry.
      Parameters:
      entry - a cache entry
      Returns:
      a mutator
    • createMutator

      CacheEntryMutator createMutator(K key, V value)
      Creates a mutator for the specified cache entry.
      Parameters:
      key - a cache key
      value - a cache value
      Returns:
      a mutator