org.prevayler.implementation.snapshot
Class GenericSnapshotManager<P>
java.lang.Object
org.prevayler.implementation.snapshot.GenericSnapshotManager<P>
- Direct Known Subclasses:
- NullSnapshotManager
public class GenericSnapshotManager<P>
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GenericSnapshotManager
public GenericSnapshotManager(Map snapshotSerializers,
String primarySnapshotSuffix,
P newPrevalentSystem,
PrevaylerDirectory directory,
Serializer journalSerializer)
throws Exception
- Throws:
Exception
primarySerializer
public Serializer primarySerializer()
recoveredPrevalentSystem
public PrevalentSystemGuard<P> recoveredPrevalentSystem()
writeSnapshot
public File writeSnapshot(P prevalentSystem,
long version)
throws Exception
- Throws:
Exception
Copyright © 2001-2013. All Rights Reserved.