~ubuntu-branches/ubuntu/edgy/rpm/edgy

« back to all changes in this revision

Viewing changes to db/docs/api_java/txn_class.html

  • Committer: Bazaar Package Importer
  • Author(s): Joey Hess
  • Date: 2002-01-22 20:56:57 UTC
  • Revision ID: james.westby@ubuntu.com-20020122205657-l74j50mr9z8ofcl5
Tags: upstream-4.0.3
ImportĀ upstreamĀ versionĀ 4.0.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!--$Id: txn_class.so,v 10.15 2001/04/18 13:44:48 bostic Exp $-->
 
2
<!--Copyright 1997-2001 by Sleepycat Software, Inc.-->
 
3
<!--All rights reserved.-->
 
4
<html>
 
5
<head>
 
6
<title>Berkeley DB: DbTxn</title>
 
7
<meta name="description" content="Berkeley DB: An embedded database programmatic toolkit.">
 
8
<meta name="keywords" content="embedded,database,programmatic,toolkit,b+tree,btree,hash,hashing,transaction,transactions,locking,logging,access method,access methods,java,C,C++">
 
9
</head>
 
10
<body bgcolor=white>
 
11
<a name="2"><!--meow--></a>
 
12
<table width="100%"><tr valign=top>
 
13
<td>
 
14
<h1>DbTxn</h1>
 
15
</td>
 
16
<td align=right>
 
17
<a href="../api_java/java_index.html"><img src="../images/api.gif" alt="API"></a><a href="../reftoc.html"><img src="../images/ref.gif" alt="Ref"></a>
 
18
</td></tr></table>
 
19
<hr size=1 noshade>
 
20
<tt>
 
21
<h3><pre>
 
22
import com.sleepycat.db.*;
 
23
<p>
 
24
public class DbTxn extends Object { ... }
 
25
</pre></h3>
 
26
<h1>Description</h1>
 
27
<p>This manual page describes the specific details of the DbTxn class.
 
28
<p>The <a href="../api_java/dbenv_class.html">DbEnv</a> transaction methods and the DbTxn class provide
 
29
transaction semantics.  Full transaction support is provided by a
 
30
collection of modules that provide interfaces to the services required
 
31
for transaction processing.  These services are recovery, concurrency
 
32
control, and the management of shared data.
 
33
<p>Transaction semantics can be applied to the access methods described in
 
34
Db through method call parameters.
 
35
<p>The model intended for transactional use (and the one that is used by
 
36
the access methods) is write-ahead logging to record both before- and
 
37
after-images.  Locking follows a two-phase protocol with all locks being
 
38
released at transaction commit.
 
39
<h1>Class</h1>
 
40
<a href="../api_java/dbenv_class.html">DbEnv</a>, <a href="../api_java/txn_class.html">DbTxn</a>
 
41
<h1>See Also</h1>
 
42
<a href="../api_java/env_set_tx_max.html">DbEnv.set_tx_max</a>,
 
43
<a href="../api_java/env_set_tx_timestamp.html">DbEnv.set_tx_timestamp</a>,
 
44
<a href="../api_java/txn_abort.html">DbTxn.abort</a>,
 
45
<a href="../api_java/txn_begin.html">DbEnv.txn_begin</a>,
 
46
<a href="../api_java/txn_checkpoint.html">DbEnv.txn_checkpoint</a>,
 
47
<a href="../api_java/txn_commit.html">DbTxn.commit</a>,
 
48
<a href="../api_java/txn_discard.html">DbTxn.discard</a>,
 
49
<a href="../api_java/txn_id.html">DbTxn.id</a>,
 
50
<a href="../api_java/txn_prepare.html">DbTxn.prepare</a>,
 
51
<a href="../api_java/txn_recover.html">DbEnv.txn_recover</a>,
 
52
and
 
53
<a href="../api_java/txn_stat.html">DbEnv.txn_stat</a>.
 
54
</tt>
 
55
<table width="100%"><tr><td><br></td><td align=right>
 
56
<a href="../api_java/java_index.html"><img src="../images/api.gif" alt="API"></a><a href="../reftoc.html"><img src="../images/ref.gif" alt="Ref"></a>
 
57
</td></tr></table>
 
58
<p><font size=1><a href="http://www.sleepycat.com">Copyright Sleepycat Software</a></font>
 
59
</body>
 
60
</html>