Class SimpleKeyFormatMapper
java.lang.Object
org.wildfly.clustering.cache.infinispan.embedded.persistence.SimpleKeyFormatMapper
- All Implemented Interfaces:
org.infinispan.persistence.keymappers.Key2StringMapper,org.infinispan.persistence.keymappers.TwoWayKey2StringMapper
public class SimpleKeyFormatMapper
extends Object
implements org.infinispan.persistence.keymappers.TwoWayKey2StringMapper
Simple
TwoWayKey2StringMapper based on a single Formatter.- Author:
- Paul Ferraro
-
Constructor Summary
ConstructorsConstructorDescriptionSimpleKeyFormatMapper(org.wildfly.clustering.marshalling.Formatter<?> format) -
Method Summary
Modifier and TypeMethodDescriptiongetKeyMapping(String value) getStringMapping(Object key) booleanisSupportedType(Class<?> keyType)
-
Constructor Details
-
SimpleKeyFormatMapper
public SimpleKeyFormatMapper(org.wildfly.clustering.marshalling.Formatter<?> format)
-
-
Method Details
-
isSupportedType
- Specified by:
isSupportedTypein interfaceorg.infinispan.persistence.keymappers.Key2StringMapper
-
getStringMapping
- Specified by:
getStringMappingin interfaceorg.infinispan.persistence.keymappers.Key2StringMapper
-
getKeyMapping
- Specified by:
getKeyMappingin interfaceorg.infinispan.persistence.keymappers.TwoWayKey2StringMapper
-