org.infinispan.loaders.jdbc.stringbased
Interface TwoWayKey2StringMapper
- All Superinterfaces:
- Key2StringMapper
- All Known Implementing Classes:
- DefaultKey2StringMapper, DefaultTwoWayKey2StringMapper, LuceneKey2StringMapper
public interface TwoWayKey2StringMapper
- extends Key2StringMapper
Extends Key2StringMapper
and allows a bidirectional transformation
between keys and strings. This is needed for supporting preload and rehashing during distribution. See JdbcStringBasedCacheStore
for more info on these limitations. Following
condition should be satisfied by implementations of this interface:
k1.equals(getKeyMapping(getStringMapping(k1)))
- Since:
- 4.1
- Author:
- Mircea.Markus@jboss.com
getKeyMapping
Object getKeyMapping(String key)
Copyright © 2010 JBoss, a division of Red Hat. All Rights Reserved.