Class SimpleKeyFormatMapper
- java.lang.Object
-
- org.wildfly.clustering.infinispan.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
SimpleTwoWayKey2StringMapperbased on a singleFormatter.- Author:
- Paul Ferraro
-
-
Constructor Summary
Constructors Constructor Description SimpleKeyFormatMapper(Formatter<?> format)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectgetKeyMapping(String value)StringgetStringMapping(Object key)booleanisSupportedType(Class<?> keyType)
-
-
-
Constructor Detail
-
SimpleKeyFormatMapper
public SimpleKeyFormatMapper(Formatter<?> format)
-
-
Method Detail
-
isSupportedType
public boolean isSupportedType(Class<?> keyType)
- Specified by:
isSupportedTypein interfaceorg.infinispan.persistence.keymappers.Key2StringMapper
-
getStringMapping
public String getStringMapping(Object key)
- Specified by:
getStringMappingin interfaceorg.infinispan.persistence.keymappers.Key2StringMapper
-
-