org.terracotta.modules.ehcache.store
Class ValueModeHandlerSerialization
java.lang.Object
org.terracotta.modules.ehcache.store.ValueModeHandlerSerialization
- All Implemented Interfaces:
- ValueModeHandler
public class ValueModeHandlerSerialization
- extends Object
- implements ValueModeHandler
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ValueModeHandlerSerialization
public ValueModeHandlerSerialization()
getRealKeyObject
public Object getRealKeyObject(String portableKey)
- Specified by:
getRealKeyObject in interface ValueModeHandler
createPortableKey
public String createPortableKey(Object key)
throws IOException
- Specified by:
createPortableKey in interface ValueModeHandler
- Throws:
IOException
createElementData
public ElementData createElementData(Element element)
- Specified by:
createElementData in interface ValueModeHandler
createElement
public Element createElement(Object key,
Serializable value)
- Description copied from interface:
ValueModeHandler
- Returns null for null values otherwise creates an
Element with the specified key-value and returns it
- Specified by:
createElement in interface ValueModeHandler
Copyright © 2003-2013 Terracotta, Inc.. All Rights Reserved.