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

« back to all changes in this revision

Viewing changes to db/docs/api_java/log_unregister.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: log_unregister.so,v 10.21 2000/05/03 22:39:10 bostic Exp $-->
 
2
<!--Copyright 1997-2001 by Sleepycat Software, Inc.-->
 
3
<!--All rights reserved.-->
 
4
<html>
 
5
<head>
 
6
<title>Berkeley DB: DbEnv.log_unregister</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>DbEnv.log_unregister</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 void log_unregister(Db dbp)
 
25
        throws DbException;
 
26
</pre></h3>
 
27
<h1>Description</h1>
 
28
<p>The DbEnv.log_unregister method function unregisters the file represented by
 
29
the <b>dbp</b> parameter from the Berkeley DB environment's log manager.
 
30
<p>The DbEnv.log_unregister method throws an exception that encapsulates a non-zero error value on
 
31
failure.
 
32
<h1>Errors</h1>
 
33
<p>The DbEnv.log_unregister method may fail and throw an exception encapsulating a non-zero error for the following conditions:
 
34
<p><dl compact>
 
35
<p><dt>EINVAL<dd>An invalid flag value or parameter was specified.
 
36
</dl>
 
37
<p>The DbEnv.log_unregister method may fail and throw an exception for errors specified for other Berkeley DB and C library or system methods.
 
38
If a catastrophic error has occurred, the DbEnv.log_unregister method may fail and throw
 
39
a <a href="../api_java/runrec_class.html">DbRunRecoveryException</a>, in which case all subsequent Berkeley DB calls
 
40
will fail in the same way.
 
41
<h1>Class</h1>
 
42
<a href="../api_java/dbenv_class.html">DbEnv</a>
 
43
<h1>See Also</h1>
 
44
<a href="../api_java/env_set_lg_bsize.html">DbEnv.set_lg_bsize</a>,
 
45
<a href="../api_java/env_set_lg_dir.html">DbEnv.set_lg_dir</a>,
 
46
<a href="../api_java/env_set_lg_max.html">DbEnv.set_lg_max</a>,
 
47
<a href="../api_java/env_set_lg_regionmax.html">DbEnv.set_lg_regionmax</a>,
 
48
<a href="../api_java/log_archive.html">DbEnv.log_archive</a>,
 
49
<a href="../api_java/log_compare.html">DbEnv.log_compare</a>,
 
50
<a href="../api_java/log_file.html">DbEnv.log_file</a>,
 
51
<a href="../api_java/log_flush.html">DbEnv.log_flush</a>,
 
52
<a href="../api_java/log_get.html">DbEnv.log_get</a>,
 
53
<a href="../api_java/log_put.html">DbEnv.log_put</a>,
 
54
<a href="../api_java/log_register.html">DbEnv.log_register</a>,
 
55
<a href="../api_java/log_stat.html">DbEnv.log_stat</a>,
 
56
and
 
57
<a href="../api_java/log_unregister.html">DbEnv.log_unregister</a>.
 
58
</tt>
 
59
<table width="100%"><tr><td><br></td><td align=right>
 
60
<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>
 
61
</td></tr></table>
 
62
<p><font size=1><a href="http://www.sleepycat.com">Copyright Sleepycat Software</a></font>
 
63
</body>
 
64
</html>