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

Method Summary
 Object getKeyMapping(String key)
           
 
Methods inherited from interface org.infinispan.loaders.jdbc.stringbased.Key2StringMapper
getStringMapping, isSupportedType
 

Method Detail

getKeyMapping

Object getKeyMapping(String key)

Google Analytics

Copyright © 2010 JBoss, a division of Red Hat. All Rights Reserved.