org.terracotta.modules.ehcache.store
Class ValueModeHandlerIdentity

java.lang.Object
  extended by org.terracotta.modules.ehcache.store.ValueModeHandlerIdentity
All Implemented Interfaces:
ValueModeHandler

public class ValueModeHandlerIdentity
extends Object
implements ValueModeHandler


Constructor Summary
ValueModeHandlerIdentity(ClusteredStore store)
           
 
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

ValueModeHandlerIdentity

public ValueModeHandlerIdentity(ClusteredStore store)
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.