Skip navigation links

Oracle® Coherence Java API Reference
Release 12.1.2.0.3

E26043-02


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
 java.lang.Object fromString(java.lang.String sKey)
          Convert a string representation of a key into its object form.
 java.lang.String toString(java.lang.Object oKey)
          Convert an object representation of a key into its string form.

 

Method Detail

fromString

java.lang.Object fromString(java.lang.String sKey)
Convert a string representation of a key into its object form.
Parameters:
sKey - key as a string
Returns:
key in its object form

toString

java.lang.String toString(java.lang.Object oKey)
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

Skip navigation links

Oracle® Coherence Java API Reference
Release 12.1.2.0.3

E26043-02


Copyright © 2000, 2014, Oracle and/or its affiliates. All rights reserved.