public class IndexedKeyFormatMapper extends Object implements org.infinispan.persistence.keymappers.TwoWayKey2StringMapper
TwoWayKey2StringMapper implementation that maps multiple KeyFormat instances.
Key is mapped to an padded hexadecimal index + the formatted key.| Constructor and Description |
|---|
IndexedKeyFormatMapper(Collection<? extends KeyFormat<?>> keyFormats) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getKeyMapping(String value) |
String |
getStringMapping(Object key) |
boolean |
isSupportedType(Class<?> keyType) |
public IndexedKeyFormatMapper(Collection<? extends KeyFormat<?>> keyFormats)
public boolean isSupportedType(Class<?> keyType)
isSupportedType in interface org.infinispan.persistence.keymappers.Key2StringMapperpublic String getStringMapping(Object key)
getStringMapping in interface org.infinispan.persistence.keymappers.Key2StringMapperCopyright © 2018 JBoss by Red Hat. All rights reserved.