Package com.tangosol.coherence.rest
Interface KeyConverter
- All Known Implementing Classes:
DefaultKeyConverter
public interface KeyConverter
An interface that must be implemented by key converters.
Key converters are used to convert cache entry keys to string and string representations of the keys that are used in RESTful URLs into appropriate object instance that can be used to access cache entries.
- Author:
- as 2011.06.08
-
Method Summary
-
Method Details
-
fromString
Convert a string representation of a key into its object form.- Parameters:
sKey
- key as a string- Returns:
- key in its object form
-
toString
Convert an object representation of a key into its string form.- Parameters:
oKey
- key in its original object form- Returns:
- string representation of a key
-