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

« back to all changes in this revision

Viewing changes to db/docs/api_java/lock_put.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: lock_put.so,v 10.21 2000/03/01 21:41:29 bostic Exp $-->
 
2
<!--Copyright 1997-2001 by Sleepycat Software, Inc.-->
 
3
<!--All rights reserved.-->
 
4
<html>
 
5
<head>
 
6
<title>Berkeley DB: DbLock.put</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>DbLock.put</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 native void put(DbEnv env)
 
25
        throws DbException;
 
26
</pre></h3>
 
27
<h1>Description</h1>
 
28
<p>The DbLock.put method releases <b>lock</b> from the lock table.
 
29
<p>The DbLock.put method throws an exception that encapsulates a non-zero error value on
 
30
failure.
 
31
<h1>Errors</h1>
 
32
<p>The DbLock.put method may fail and throw an exception encapsulating a non-zero error for the following conditions:
 
33
<p><dl compact>
 
34
<p><dt>EINVAL<dd>An invalid flag value or parameter was specified.
 
35
</dl>
 
36
<p>The DbLock.put method may fail and throw an exception for errors specified for other Berkeley DB and C library or system methods.
 
37
If a catastrophic error has occurred, the DbLock.put method may fail and throw
 
38
a <a href="../api_java/runrec_class.html">DbRunRecoveryException</a>, in which case all subsequent Berkeley DB calls
 
39
will fail in the same way.
 
40
<h1>Class</h1>
 
41
<a href="../api_java/dbenv_class.html">DbEnv</a>, <a href="../api_java/lock_class.html">DbLock</a>
 
42
<h1>See Also</h1>
 
43
<a href="../api_java/env_set_lk_conflicts.html">DbEnv.set_lk_conflicts</a>,
 
44
<a href="../api_java/env_set_lk_detect.html">DbEnv.set_lk_detect</a>,
 
45
<a href="../api_java/env_set_lk_max.html">DbEnv.set_lk_max</a>,
 
46
<a href="../api_java/env_set_lk_max_lockers.html">DbEnv.set_lk_max_lockers</a>,
 
47
<a href="../api_java/env_set_lk_max_locks.html">DbEnv.set_lk_max_locks</a>,
 
48
<a href="../api_java/env_set_lk_max_objects.html">DbEnv.set_lk_max_objects</a>,
 
49
<a href="../api_java/lock_detect.html">DbEnv.lock_detect</a>,
 
50
<a href="../api_java/lock_get.html">DbEnv.lock_get</a>,
 
51
<a href="../api_java/lock_id.html">DbEnv.lock_id</a>,
 
52
<a href="../api_java/lock_put.html">DbLock.put</a>,
 
53
and
 
54
<a href="../api_java/lock_stat.html">DbEnv.lock_stat</a>.
 
55
</tt>
 
56
<table width="100%"><tr><td><br></td><td align=right>
 
57
<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>
 
58
</td></tr></table>
 
59
<p><font size=1><a href="http://www.sleepycat.com">Copyright Sleepycat Software</a></font>
 
60
</body>
 
61
</html>