01: /*-
02: * See the file LICENSE for redistribution information.
03: *
04: * Copyright (c) 2002,2008 Oracle. All rights reserved.
05: *
06: * $Id: TxnCommit.java,v 1.22.2.3 2008/01/07 15:14:17 cwl Exp $
07: */
08:
09: package com.sleepycat.je.txn;
10:
11: /**
12: * This class writes out a transaction commit or transaction end record.
13: */
14: public class TxnCommit extends TxnEnd {
15: public TxnCommit(long id, long lastLsn) {
16: super (id, lastLsn);
17: }
18:
19: /**
20: * For constructing from the log.
21: */
22: public TxnCommit() {
23: }
24:
25: /*
26: * Log support
27: */
28:
29: protected String getTagName() {
30: return "TxnCommit";
31: }
32: }
|