org.terracotta.modules.ehcache.writebehind.snapshots
Class SerializationElementSnapshot

java.lang.Object
  extended by org.terracotta.modules.ehcache.writebehind.snapshots.ElementSnapshot
      extended by org.terracotta.modules.ehcache.writebehind.snapshots.SerializationElementSnapshot

public class SerializationElementSnapshot
extends ElementSnapshot


Constructor Summary
SerializationElementSnapshot(SerializationStrategy strategy, net.sf.ehcache.Element element)
           
 
Method Summary
 Object getKey(SerializationStrategy strategy)
           
 Object getValue(SerializationStrategy strategy)
           
 
Methods inherited from class org.terracotta.modules.ehcache.writebehind.snapshots.ElementSnapshot
createElement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SerializationElementSnapshot

public SerializationElementSnapshot(SerializationStrategy strategy,
                                    net.sf.ehcache.Element element)
                             throws IOException
Throws:
IOException
Method Detail

getKey

public Object getKey(SerializationStrategy strategy)
              throws IOException,
                     ClassNotFoundException
Specified by:
getKey in class ElementSnapshot
Throws:
IOException
ClassNotFoundException

getValue

public Object getValue(SerializationStrategy strategy)
                throws IOException,
                       ClassNotFoundException
Specified by:
getValue in class ElementSnapshot
Throws:
IOException
ClassNotFoundException


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