org.terracotta.modules.ehcache.store
Interface ValueModeHandler

All Known Implementing Classes:
ValueModeHandlerSerialization

public interface ValueModeHandler


Method Summary
 Element createElement(Object key, Serializable value)
          Returns null for null values otherwise creates an Element with the specified key-value and returns it
 ElementData createElementData(Element element)
           
 String createPortableKey(Object key)
           
 Object getRealKeyObject(String portableKey)
           
 

Method Detail

getRealKeyObject

Object getRealKeyObject(String portableKey)

createPortableKey

String createPortableKey(Object key)
                         throws IOException
Throws:
IOException

createElementData

ElementData createElementData(Element element)

createElement

Element createElement(Object key,
                      Serializable value)
Returns null for null values otherwise creates an Element with the specified key-value and returns it



Copyright © 2003-2013 Terracotta, Inc.. All Rights Reserved.