Package org.wildfly.clustering.cache
Interface CacheEntryMutatorFactory<K,V>
public interface CacheEntryMutatorFactory<K,V>
Creates a mutator instance for a given cache entry.
- Author:
- Paul Ferraro
-
Method Summary
Modifier and TypeMethodDescriptiondefault CacheEntryMutatorcreateMutator(Map.Entry<K, V> entry) Creates a mutator for the specified cache entry.createMutator(K key, V value) Creates a mutator for the specified cache entry.
-
Method Details
-
createMutator
Creates a mutator for the specified cache entry.- Parameters:
entry- a cache entry- Returns:
- a mutator
-
createMutator
Creates a mutator for the specified cache entry.- Parameters:
key- a cache keyvalue- a cache value- Returns:
- a mutator
-