org.terracotta.modules.ehcache.store
Class ValueModeHandlerSerialization

java.lang.Object
  extended by org.terracotta.modules.ehcache.store.ValueModeHandlerSerialization
All Implemented Interfaces:
ValueModeHandler
Direct Known Subclasses:
ValueModeHandlerHibernate

public class ValueModeHandlerSerialization
extends Object
implements ValueModeHandler


Constructor Summary
ValueModeHandlerSerialization(ClusteredStore store, boolean copyOnRead)
           
 
Method Summary
 net.sf.ehcache.Element createElement(Object key, TimestampedValue value)
           
 Object createPortableKey(Object key)
           
 TimestampedValue createTimestampedValue(net.sf.ehcache.Element element)
           
 void processStoredValue(TimestampedValue value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValueModeHandlerSerialization

public ValueModeHandlerSerialization(ClusteredStore store,
                                     boolean copyOnRead)
Method Detail

createPortableKey

public Object createPortableKey(Object key)
Specified by:
createPortableKey in interface ValueModeHandler

createTimestampedValue

public TimestampedValue createTimestampedValue(net.sf.ehcache.Element element)
Specified by:
createTimestampedValue in interface ValueModeHandler

processStoredValue

public void processStoredValue(TimestampedValue value)
Specified by:
processStoredValue in interface ValueModeHandler

createElement

public net.sf.ehcache.Element createElement(Object key,
                                            TimestampedValue value)
Specified by:
createElement in interface ValueModeHandler


Copyright © 2010 Terracotta, Inc.. All Rights Reserved.