Main Page | Class Hierarchy | Data Structures | Directories | File List | Data Fields | Related Pages

PreparedTransaction.java

00001 /*-
00002  * See the file LICENSE for redistribution information.
00003  *
00004  * Copyright (c) 1999-2005
00005  *      Sleepycat Software.  All rights reserved.
00006  *
00007  * $Id: PreparedTransaction.java,v 12.1 2005/06/16 20:23:03 bostic Exp $
00008  */
00009 package com.sleepycat.db;
00010 
00011 import com.sleepycat.db.internal.DbTxn;
00012 
00013 public class PreparedTransaction {
00014     private byte[] gid;
00015     private Transaction txn;
00016 
00017     PreparedTransaction(final DbTxn txn, final byte[] gid) {
00018         this.txn = new Transaction(txn);
00019         this.gid = gid;
00020     }
00021 
00022     public byte[] getGID() {
00023         return gid;
00024     }
00025 
00026     public Transaction getTransaction() {
00027         return txn;
00028     }
00029 }

Generated on Sun Dec 25 12:14:33 2005 for Berkeley DB 4.4.16 by  doxygen 1.4.2