org.terracotta.modules.ehcache.writebehind.snapshots
Class ElementSnapshot
java.lang.Object
org.terracotta.modules.ehcache.writebehind.snapshots.ElementSnapshot
- Direct Known Subclasses:
- IdentityElementSnapshot, SerializationElementSnapshot
public abstract class ElementSnapshot
- extends Object
Abstract base class to for creating and restoring snapshots of Ehcache elements
- Version:
- $Id: ElementSnapshot.java 23027 2010-05-21 14:24:50Z hhuynh $
- Author:
- Geert Bevin
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ElementSnapshot
public ElementSnapshot(net.sf.ehcache.Element element)
createElement
public final net.sf.ehcache.Element createElement(SerializationStrategy strategy)
throws ClassNotFoundException,
IOException
- Throws:
ClassNotFoundException
IOException
getKey
public abstract Object getKey(SerializationStrategy strategy)
throws IOException,
ClassNotFoundException
- Throws:
IOException
ClassNotFoundException
getValue
public abstract Object getValue(SerializationStrategy strategy)
throws IOException,
ClassNotFoundException
- Throws:
IOException
ClassNotFoundException
Copyright © 2010 Terracotta, Inc.. All Rights Reserved.