Package org.infinispan.cache.impl
Class EncoderEntryMapper<K,V,T extends Map.Entry<K,V>>
java.lang.Object
org.infinispan.cache.impl.EncoderEntryMapper<K,V,T>
- All Implemented Interfaces:
Function<T,
,T> UnaryOperator<T>
,EncodingFunction<T>
,InjectiveFunction<T,
T>
public class EncoderEntryMapper<K,V,T extends Map.Entry<K,V>>
extends Object
implements EncodingFunction<T>
Function
that uses an encoder to converter entries from the configured storage format to
the requested format.-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
injectDependencies
(ComponentRegistry registry) static <K,
V> EncoderEntryMapper<K, V, CacheEntry<K, V>> newCacheEntryMapper
(DataConversion keyDataConversion, DataConversion valueDataConversion, InternalEntryFactory entryFactory) static <K,
V> EncoderEntryMapper<K, V, Map.Entry<K, V>> newEntryMapper
(DataConversion keyDataConversion, DataConversion valueDataConversion, InternalEntryFactory entryFactory)
-
Method Details
-
newEntryMapper
public static <K,V> EncoderEntryMapper<K,V, newEntryMapperMap.Entry<K, V>> (DataConversion keyDataConversion, DataConversion valueDataConversion, InternalEntryFactory entryFactory) -
newCacheEntryMapper
public static <K,V> EncoderEntryMapper<K,V, newCacheEntryMapperCacheEntry<K, V>> (DataConversion keyDataConversion, DataConversion valueDataConversion, InternalEntryFactory entryFactory) -
injectDependencies
-
apply
-