|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Key2StringMapper
Defines the logic of mapping a key object to a String. This is required by certain cache stores, in order to map each key to a String which the underlying store is capable of handling. It should generate a unique String based on the supplied key.
Method Summary | |
---|---|
String |
getStringMapping(Object key)
Must return an unique String for the supplied key. |
boolean |
isSupportedType(Class<?> keyType)
Do we support this key type? |
Method Detail |
---|
boolean isSupportedType(Class<?> keyType)
keyType
- type to test
String getStringMapping(Object key)
key
- key to map to a String
|
--> | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |