comparison src/org/dancres/blitz/txn/CheckpointerImpl.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.dancres.blitz.txn;
2
3 import java.io.IOException;
4
5 /**
6 The checkpointer implementation is deliberately separated out from
7 TxnManager itself so that the actual method which performs the checkpoint
8 [<code>issueCheckpoint()</code>] is not publicly visible.
9 */
10 class CheckpointerImpl implements Checkpointer {
11 private TxnManager theManager;
12
13 CheckpointerImpl(TxnManager aManager) {
14 theManager = aManager;
15 }
16
17 public void sync() throws IOException {
18 theManager.requestAsyncCheckpoint();
19 }
20 }