01: /*-
02: * See the file LICENSE for redistribution information.
03: *
04: * Copyright (c) 2002,2008 Oracle. All rights reserved.
05: *
06: * $Id: TxnAbort.java,v 1.20.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 TxnAbort extends TxnEnd {
15: public TxnAbort(long id, long lastLsn) {
16: super (id, lastLsn);
17: }
18:
19: /**
20: * For constructing from the log.
21: */
22: public TxnAbort() {
23: }
24:
25: /*
26: * Log support
27: */
28:
29: protected String getTagName() {
30: return "TxnAbort";
31: }
32: }
|