comparison src/org/prevayler/implementation/Snapshotter.java @ 0:3dc0c5604566

Initial checkin of blitz 2.0 fcs - no installer yet.
author Dan Creswell <dan.creswell@gmail.com>
date Sat, 21 Mar 2009 11:00:06 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:3dc0c5604566
1 package org.prevayler.implementation;
2
3 import java.io.File;
4 import java.io.FileOutputStream;
5 import java.io.ByteArrayOutputStream;
6 import java.io.ObjectOutputStream;
7 import java.io.IOException;
8
9 import org.prevayler.PrevalentSystem;
10
11 /**
12 Represents a snapshot waiting to be persisted to disk. Invoke save() to
13 place the snapshot on disk - should only be called once all dirty state
14 (if any) has been flushed to disk.
15
16 @see org.dancres.blitz.txn.TxnManager
17 */
18 public interface Snapshotter {
19 public void save() throws IOException;
20 }