mnemosyne.archiver
Class TransientArchiver
java.lang.Object
|
+--mnemosyne.archiver.TransientArchiver
- All Implemented Interfaces:
- Archiver
- public class TransientArchiver
- extends java.lang.Object
- implements Archiver
An implementation of the archiver that does not persist to durable storage.
This might be useful for demos, testing, or an in memory cache that requires
ACID properties.
- Version:
- $Id: TransientArchiver.java,v 1.1.1.1 2004/08/07 06:40:55 charlesblaxland Exp $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransientArchiver
public TransientArchiver()
loadLatest
public PersistentRoot loadLatest()
throws ArchiverException
- Specified by:
loadLatest
in interface Archiver
ArchiverException
saveSnapshot
public void saveSnapshot(PersistentRoot root)
throws ArchiverException
- Specified by:
saveSnapshot
in interface Archiver
ArchiverException
saveTransaction
public void saveTransaction(Transaction transaction)
throws ArchiverException
- Specified by:
saveTransaction
in interface Archiver
ArchiverException
Copyright © 2004 Charles Blaxland. All Rights Reserved.