1964 lines
146 KiB
HTML
1964 lines
146 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
<!-- NewPage -->
|
|
<html lang="en">
|
|
<head>
|
|
<!-- Generated by javadoc (1.8.0_151) on Tue Oct 31 17:36:47 EDT 2017 -->
|
|
<title>Uses of Class com.sleepycat.je.DatabaseException (Oracle - Berkeley DB Java Edition API)</title>
|
|
<meta name="date" content="2017-10-31">
|
|
<link rel="stylesheet" type="text/css" href="../../../../style.css" title="Style">
|
|
<script type="text/javascript" src="../../../../script.js"></script>
|
|
</head>
|
|
<body>
|
|
<script type="text/javascript"><!--
|
|
try {
|
|
if (location.href.indexOf('is-external=true') == -1) {
|
|
parent.document.title="Uses of Class com.sleepycat.je.DatabaseException (Oracle - Berkeley DB Java Edition API)";
|
|
}
|
|
}
|
|
catch(err) {
|
|
}
|
|
//-->
|
|
</script>
|
|
<noscript>
|
|
<div>JavaScript is disabled on your browser.</div>
|
|
</noscript>
|
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
|
<div class="topNav"><a name="navbar.top">
|
|
<!-- -->
|
|
</a>
|
|
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
|
<a name="navbar.top.firstrow">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="navList" title="Navigation">
|
|
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
|
<li><a href="../package-summary.html">Package</a></li>
|
|
<li><a href="../../../../com/sleepycat/je/DatabaseException.html" title="class in com.sleepycat.je">Class</a></li>
|
|
<li class="navBarCell1Rev">Use</li>
|
|
<li><a href="../package-tree.html">Tree</a></li>
|
|
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
|
<li><a href="../../../../index-all.html">Index</a></li>
|
|
<li><a href="../../../../help-doc.html">Help</a></li>
|
|
</ul>
|
|
<div class="aboutLanguage"><b>Berkeley DB Java Edition</b><br><font size=\"-1\"> version 7.5.11</font>
|
|
</div>
|
|
</div>
|
|
<div class="subNav">
|
|
<ul class="navList">
|
|
<li>Prev</li>
|
|
<li>Next</li>
|
|
</ul>
|
|
<ul class="navList">
|
|
<li><a href="../../../../index.html?com/sleepycat/je/class-use/DatabaseException.html" target="_top">Frames</a></li>
|
|
<li><a href="DatabaseException.html" target="_top">No Frames</a></li>
|
|
</ul>
|
|
<ul class="navList" id="allclasses_navbar_top">
|
|
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
|
|
</ul>
|
|
<div>
|
|
<script type="text/javascript"><!--
|
|
allClassesLink = document.getElementById("allclasses_navbar_top");
|
|
if(window==top) {
|
|
allClassesLink.style.display = "block";
|
|
}
|
|
else {
|
|
allClassesLink.style.display = "none";
|
|
}
|
|
//-->
|
|
</script>
|
|
</div>
|
|
<a name="skip.navbar.top">
|
|
<!-- -->
|
|
</a></div>
|
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
|
<div class="header">
|
|
<h2 title="Uses of Class com.sleepycat.je.DatabaseException" class="title">Uses of Class<br>com.sleepycat.je.DatabaseException</h2>
|
|
</div>
|
|
<div class="classUseContainer">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation">
|
|
<caption><span>Packages that use <a href="../../../../com/sleepycat/je/DatabaseException.html" title="class in com.sleepycat.je">DatabaseException</a></span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Package</th>
|
|
<th class="colLast" scope="col">Description</th>
|
|
</tr>
|
|
<tbody>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><a href="#com.sleepycat.bind.serial">com.sleepycat.bind.serial</a></td>
|
|
<td class="colLast">
|
|
<div class="block">Bindings that use Java serialization.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><a href="#com.sleepycat.collections">com.sleepycat.collections</a></td>
|
|
<td class="colLast">
|
|
<div class="block">Data access based on the standard Java collections API.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><a href="#com.sleepycat.je">com.sleepycat.je</a></td>
|
|
<td class="colLast">
|
|
<div class="block">Foundation for creating environments, databases and transactions; provides
|
|
cursor based data access.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><a href="#com.sleepycat.je.jca.ra">com.sleepycat.je.jca.ra</a></td>
|
|
<td class="colLast">
|
|
<div class="block">Support for the Java Connector Architecture, which provides a standard
|
|
for connecting the J2EE platform to legacy enterprise information
|
|
systems (EIS), such as ERP systems, database systems, and legacy
|
|
applications not written in Java.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><a href="#com.sleepycat.je.rep">com.sleepycat.je.rep</a></td>
|
|
<td class="colLast">
|
|
<div class="block"><div id="index">
|
|
Berkeley DB Java Edition High Availability (JE HA) enables replication of JE
|
|
environments.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><a href="#com.sleepycat.je.rep.arbiter">com.sleepycat.je.rep.arbiter</a></td>
|
|
<td class="colLast">
|
|
<div class="block">Provides a mechanism to allow write availability for the Replication
|
|
group even when the number of replication nodes is less than majority.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><a href="#com.sleepycat.je.rep.monitor">com.sleepycat.je.rep.monitor</a></td>
|
|
<td class="colLast">
|
|
<div class="block">BDB JE HA support for applications that need to track the composition of a
|
|
replication group, in order to do tasks such as load balancing and
|
|
request routing.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><a href="#com.sleepycat.je.util">com.sleepycat.je.util</a></td>
|
|
<td class="colLast">
|
|
<div class="block">Supporting utilities.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><a href="#com.sleepycat.persist">com.sleepycat.persist</a></td>
|
|
<td class="colLast">
|
|
<div class="block">The Direct Persistence Layer (DPL) adds a persistent object model to the
|
|
Berkeley DB transactional engine.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><a href="#com.sleepycat.persist.evolve">com.sleepycat.persist.evolve</a></td>
|
|
<td class="colLast">
|
|
<div class="block">Utilities for managing class evolution of persistent objects.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><a href="#com.sleepycat.persist.raw">com.sleepycat.persist.raw</a></td>
|
|
<td class="colLast">
|
|
<div class="block">Raw data access for general purpose tools and manual conversions.</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</li>
|
|
<li class="blockList">
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="com.sleepycat.bind.serial">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Uses of <a href="../../../../com/sleepycat/je/DatabaseException.html" title="class in com.sleepycat.je">DatabaseException</a> in <a href="../../../../com/sleepycat/bind/serial/package-summary.html">com.sleepycat.bind.serial</a></h3>
|
|
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
|
|
<caption><span>Methods in <a href="../../../../com/sleepycat/bind/serial/package-summary.html">com.sleepycat.bind.serial</a> that throw <a href="../../../../com/sleepycat/je/DatabaseException.html" title="class in com.sleepycat.je">DatabaseException</a></span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Modifier and Type</th>
|
|
<th class="colLast" scope="col">Method and Description</th>
|
|
</tr>
|
|
<tbody>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><span class="typeNameLabel">ClassCatalog.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/bind/serial/ClassCatalog.html#close--">close</a></span>()</code>
|
|
<div class="block">Close a catalog database and release any cached resources.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><span class="typeNameLabel">StoredClassCatalog.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/bind/serial/StoredClassCatalog.html#close--">close</a></span>()</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>java.io.ObjectStreamClass</code></td>
|
|
<td class="colLast"><span class="typeNameLabel">ClassCatalog.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/bind/serial/ClassCatalog.html#getClassFormat-byte:A-">getClassFormat</a></span>(byte[] classID)</code>
|
|
<div class="block">Return the ObjectStreamClass for the given class ID.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>java.io.ObjectStreamClass</code></td>
|
|
<td class="colLast"><span class="typeNameLabel">StoredClassCatalog.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/bind/serial/StoredClassCatalog.html#getClassFormat-byte:A-">getClassFormat</a></span>(byte[] classID)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>byte[]</code></td>
|
|
<td class="colLast"><span class="typeNameLabel">ClassCatalog.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/bind/serial/ClassCatalog.html#getClassID-java.io.ObjectStreamClass-">getClassID</a></span>(java.io.ObjectStreamClass classDesc)</code>
|
|
<div class="block">Return the class ID for the current version of the given class
|
|
description.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>byte[]</code></td>
|
|
<td class="colLast"><span class="typeNameLabel">StoredClassCatalog.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/bind/serial/StoredClassCatalog.html#getClassID-java.io.ObjectStreamClass-">getClassID</a></span>(java.io.ObjectStreamClass classFormat)</code> </td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing constructors, and an explanation">
|
|
<caption><span>Constructors in <a href="../../../../com/sleepycat/bind/serial/package-summary.html">com.sleepycat.bind.serial</a> that throw <a href="../../../../com/sleepycat/je/DatabaseException.html" title="class in com.sleepycat.je">DatabaseException</a></span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colOne" scope="col">Constructor and Description</th>
|
|
</tr>
|
|
<tbody>
|
|
<tr class="altColor">
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/sleepycat/bind/serial/StoredClassCatalog.html#StoredClassCatalog-com.sleepycat.je.Database-">StoredClassCatalog</a></span>(<a href="../../../../com/sleepycat/je/Database.html" title="class in com.sleepycat.je">Database</a> database)</code>
|
|
<div class="block">Creates a catalog based on a given database.</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</li>
|
|
<li class="blockList"><a name="com.sleepycat.collections">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Uses of <a href="../../../../com/sleepycat/je/DatabaseException.html" title="class in com.sleepycat.je">DatabaseException</a> in <a href="../../../../com/sleepycat/collections/package-summary.html">com.sleepycat.collections</a></h3>
|
|
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
|
|
<caption><span>Methods in <a href="../../../../com/sleepycat/collections/package-summary.html">com.sleepycat.collections</a> that throw <a href="../../../../com/sleepycat/je/DatabaseException.html" title="class in com.sleepycat.je">DatabaseException</a></span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Modifier and Type</th>
|
|
<th class="colLast" scope="col">Method and Description</th>
|
|
</tr>
|
|
<tbody>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../com/sleepycat/je/Transaction.html" title="class in com.sleepycat.je">Transaction</a></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">CurrentTransaction.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/collections/CurrentTransaction.html#abortTransaction--">abortTransaction</a></span>()</code>
|
|
<div class="block">Aborts the transaction that is active for the current thread for this
|
|
environment and makes the parent transaction (if any) the current
|
|
transaction.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><span class="typeNameLabel">PrimaryKeyAssigner.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/collections/PrimaryKeyAssigner.html#assignKey-com.sleepycat.je.DatabaseEntry-">assignKey</a></span>(<a href="../../../../com/sleepycat/je/DatabaseEntry.html" title="class in com.sleepycat.je">DatabaseEntry</a> keyData)</code>
|
|
<div class="block">Assigns a new primary key value into the given buffer.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../com/sleepycat/je/Transaction.html" title="class in com.sleepycat.je">Transaction</a></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">CurrentTransaction.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/collections/CurrentTransaction.html#beginTransaction-com.sleepycat.je.TransactionConfig-">beginTransaction</a></span>(<a href="../../../../com/sleepycat/je/TransactionConfig.html" title="class in com.sleepycat.je">TransactionConfig</a> config)</code>
|
|
<div class="block">Begins a new transaction for this environment and associates it with
|
|
the current thread.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../com/sleepycat/je/Transaction.html" title="class in com.sleepycat.je">Transaction</a></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">CurrentTransaction.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/collections/CurrentTransaction.html#commitTransaction--">commitTransaction</a></span>()</code>
|
|
<div class="block">Commits the transaction that is active for the current thread for this
|
|
environment and makes the parent transaction (if any) the current
|
|
transaction.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><span class="typeNameLabel">TransactionRunner.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/collections/TransactionRunner.html#run-com.sleepycat.collections.TransactionWorker-">run</a></span>(<a href="../../../../com/sleepycat/collections/TransactionWorker.html" title="interface in com.sleepycat.collections">TransactionWorker</a> worker)</code>
|
|
<div class="block">Calls the <a href="../../../../com/sleepycat/collections/TransactionWorker.html#doWork--"><code>TransactionWorker.doWork()</code></a> method and, for transactional
|
|
environments, may begin and end a transaction.</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</li>
|
|
<li class="blockList"><a name="com.sleepycat.je">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Uses of <a href="../../../../com/sleepycat/je/DatabaseException.html" title="class in com.sleepycat.je">DatabaseException</a> in <a href="../../../../com/sleepycat/je/package-summary.html">com.sleepycat.je</a></h3>
|
|
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing subclasses, and an explanation">
|
|
<caption><span>Subclasses of <a href="../../../../com/sleepycat/je/DatabaseException.html" title="class in com.sleepycat.je">DatabaseException</a> in <a href="../../../../com/sleepycat/je/package-summary.html">com.sleepycat.je</a></span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Modifier and Type</th>
|
|
<th class="colLast" scope="col">Class and Description</th>
|
|
</tr>
|
|
<tbody>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>class </code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/DatabaseExistsException.html" title="class in com.sleepycat.je">DatabaseExistsException</a></span></code>
|
|
<div class="block">Thrown by <a href="../../../../com/sleepycat/je/Environment.html#openDatabase-com.sleepycat.je.Transaction-java.lang.String-com.sleepycat.je.DatabaseConfig-"><code>Environment.openDatabase</code></a> and
|
|
<a href="../../../../com/sleepycat/je/Environment.html#openSecondaryDatabase-com.sleepycat.je.Transaction-java.lang.String-com.sleepycat.je.Database-com.sleepycat.je.SecondaryConfig-"><code>Environment.openSecondaryDatabase</code></a>
|
|
if the database already exists and the <code>DatabaseConfig
|
|
ExclusiveCreate</code> parameter is true.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>class </code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/DatabaseNotFoundException.html" title="class in com.sleepycat.je">DatabaseNotFoundException</a></span></code>
|
|
<div class="block">Thrown when an operation requires a database and that database does not
|
|
exist.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>class </code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/DeadlockException.html" title="class in com.sleepycat.je">DeadlockException</a></span></code>
|
|
<div class="block">Thrown when a deadlock is detected.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>class </code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/DeleteConstraintException.html" title="class in com.sleepycat.je">DeleteConstraintException</a></span></code>
|
|
<div class="block">Thrown when an attempt is made to delete a key from a foreign key database,
|
|
when that key is referenced by a secondary database, and the secondary is
|
|
configured to cause an abort in this situation.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>class </code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/DiskLimitException.html" title="class in com.sleepycat.je">DiskLimitException</a></span></code>
|
|
<div class="block">Thrown when a write operation cannot be performed because a disk limit has
|
|
been violated.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>class </code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/DiskOrderedCursorProducerException.html" title="class in com.sleepycat.je">DiskOrderedCursorProducerException</a></span></code>
|
|
<div class="block">Thrown by <a href="../../../../com/sleepycat/je/ForwardCursor.html#getNext-com.sleepycat.je.DatabaseEntry-com.sleepycat.je.DatabaseEntry-com.sleepycat.je.LockMode-"><code>ForwardCursor.getNext</code></a> when a
|
|
<a href="../../../../com/sleepycat/je/DiskOrderedCursor.html" title="class in com.sleepycat.je"><code>DiskOrderedCursor</code></a> producer thread throws an exception.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>class </code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/DuplicateDataException.html" title="class in com.sleepycat.je">DuplicateDataException</a></span></code>
|
|
<div class="block">Thrown by <a href="../../../../com/sleepycat/je/Cursor.html#putCurrent-com.sleepycat.je.DatabaseEntry-"><code>Cursor.putCurrent</code></a> if the old and new
|
|
data are not equal according to the configured duplicate comparator or
|
|
default comparator.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>class </code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/EnvironmentFailureException.html" title="class in com.sleepycat.je">EnvironmentFailureException</a></span></code>
|
|
<div class="block">Indicates that a failure has occurred that could impact the <code>Environment</code> as a whole.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>class </code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/EnvironmentLockedException.html" title="class in com.sleepycat.je">EnvironmentLockedException</a></span></code>
|
|
<div class="block">Thrown by the <a href="../../../../com/sleepycat/je/Environment.html" title="class in com.sleepycat.je"><code>Environment</code></a> constructor when an environment cannot be
|
|
opened for write access because another process has the same environment
|
|
open for write access.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>class </code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/EnvironmentNotFoundException.html" title="class in com.sleepycat.je">EnvironmentNotFoundException</a></span></code>
|
|
<div class="block">Thrown by the <a href="../../../../com/sleepycat/je/Environment.html" title="class in com.sleepycat.je"><code>Environment</code></a> constructor when <code>EnvironmentConfig
|
|
AllowCreate</code> property is false (environment creation is not permitted), but
|
|
there are no log files in the environment directory.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>class </code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/EnvironmentWedgedException.html" title="class in com.sleepycat.je">EnvironmentWedgedException</a></span></code>
|
|
<div class="block">Thrown by the <a href="../../../../com/sleepycat/je/Environment.html#close--"><code>Environment.close()</code></a> when the current process must be
|
|
shut down and restarted before re-opening the Environment.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>class </code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/ForeignConstraintException.html" title="class in com.sleepycat.je">ForeignConstraintException</a></span></code>
|
|
<div class="block">Thrown when an attempt to write a primary database record would insert a
|
|
secondary record with a key that does not exist in a foreign key database,
|
|
when the secondary key is configured as a foreign key.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>class </code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/LockConflictException.html" title="class in com.sleepycat.je">LockConflictException</a></span></code>
|
|
<div class="block">The common base class for all exceptions that result from record lock
|
|
conflicts during read and write operations.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>class </code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/LockNotAvailableException.html" title="class in com.sleepycat.je">LockNotAvailableException</a></span></code>
|
|
<div class="block">Thrown when a non-blocking operation fails to get a lock.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>class </code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/LockNotGrantedException.html" title="class in com.sleepycat.je">LockNotGrantedException</a></span></code>
|
|
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
|
|
<div class="block"><span class="deprecationComment">replaced by <a href="../../../../com/sleepycat/je/LockNotAvailableException.html" title="class in com.sleepycat.je"><code>LockNotAvailableException</code></a></span></div>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>class </code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/LockTimeoutException.html" title="class in com.sleepycat.je">LockTimeoutException</a></span></code>
|
|
<div class="block">Thrown when multiple threads are competing for a lock and the lock timeout
|
|
interval is exceeded for the current operation.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>class </code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/LogWriteException.html" title="class in com.sleepycat.je">LogWriteException</a></span></code>
|
|
<div class="block">Thrown when an <code>IOException</code> or other failure occurs when writing to
|
|
the JE log.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>class </code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/OperationFailureException.html" title="class in com.sleepycat.je">OperationFailureException</a></span></code>
|
|
<div class="block">Indicates that a failure has occurred that impacts the current operation
|
|
and/or transaction.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>class </code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/RunRecoveryException.html" title="class in com.sleepycat.je">RunRecoveryException</a></span></code>
|
|
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
|
|
<div class="block"><span class="deprecationComment">replaced by <a href="../../../../com/sleepycat/je/EnvironmentFailureException.html" title="class in com.sleepycat.je"><code>EnvironmentFailureException</code></a> and <a href="../../../../com/sleepycat/je/Environment.html#isValid--"><code>Environment.isValid()</code></a>.</span></div>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>class </code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/SecondaryConstraintException.html" title="class in com.sleepycat.je">SecondaryConstraintException</a></span></code>
|
|
<div class="block">Base class for exceptions thrown when a write operation fails because of a
|
|
secondary constraint.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>class </code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/SecondaryIntegrityException.html" title="class in com.sleepycat.je">SecondaryIntegrityException</a></span></code>
|
|
<div class="block">Thrown when an integrity problem is detected while accessing a secondary
|
|
database, including access to secondaries while writing to a primary
|
|
database.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>class </code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/SecondaryReferenceException.html" title="class in com.sleepycat.je">SecondaryReferenceException</a></span></code>
|
|
<div class="block">Base class for exceptions thrown when a read or write operation fails
|
|
because of a secondary constraint or integrity problem.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>class </code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/SequenceExistsException.html" title="class in com.sleepycat.je">SequenceExistsException</a></span></code>
|
|
<div class="block">Thrown by <a href="../../../../com/sleepycat/je/Database.html#openSequence-com.sleepycat.je.Transaction-com.sleepycat.je.DatabaseEntry-com.sleepycat.je.SequenceConfig-"><code>Database.openSequence</code></a> if the
|
|
sequence record already exists and the <code>SequenceConfig
|
|
ExclusiveCreate</code> parameter is true.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>class </code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/SequenceIntegrityException.html" title="class in com.sleepycat.je">SequenceIntegrityException</a></span></code>
|
|
<div class="block">Thrown by <a href="../../../../com/sleepycat/je/Sequence.html#get-com.sleepycat.je.Transaction-int-"><code>Sequence.get</code></a> if the sequence record has been
|
|
deleted.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>class </code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/SequenceNotFoundException.html" title="class in com.sleepycat.je">SequenceNotFoundException</a></span></code>
|
|
<div class="block">Thrown by <a href="../../../../com/sleepycat/je/Database.html#openSequence-com.sleepycat.je.Transaction-com.sleepycat.je.DatabaseEntry-com.sleepycat.je.SequenceConfig-"><code>Database.openSequence</code></a> if the
|
|
sequence record does not exist and the <code>SequenceConfig AllowCreate</code>
|
|
parameter is false.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>class </code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/SequenceOverflowException.html" title="class in com.sleepycat.je">SequenceOverflowException</a></span></code>
|
|
<div class="block">Thrown by <a href="../../../../com/sleepycat/je/Sequence.html#get-com.sleepycat.je.Transaction-int-"><code>Sequence.get</code></a> if the end of the sequence is
|
|
reached and wrapping is not configured.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>class </code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/ThreadInterruptedException.html" title="class in com.sleepycat.je">ThreadInterruptedException</a></span></code>
|
|
<div class="block">Thrown when <code>java.lang.InterruptedException</code> (a thread interrupt) or
|
|
<code>java.nio.channels.ClosedChannelException</code> (which also results from a
|
|
thread interrupt) occurs in any JE method.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>class </code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/TransactionTimeoutException.html" title="class in com.sleepycat.je">TransactionTimeoutException</a></span></code>
|
|
<div class="block">Thrown when the transaction timeout interval is exceeded.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>class </code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/UniqueConstraintException.html" title="class in com.sleepycat.je">UniqueConstraintException</a></span></code>
|
|
<div class="block">Thrown when an attempt to write a primary database record would insert a
|
|
secondary record with a duplicate key, for secondaries that represent
|
|
one-to-one and one-to-many relationships.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>class </code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/VersionMismatchException.html" title="class in com.sleepycat.je">VersionMismatchException</a></span></code>
|
|
<div class="block">Thrown by the Environment constructor when an environment cannot be
|
|
opened because the version of the existing log is not compatible with the
|
|
version of JE that is running.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>class </code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/XAFailureException.html" title="class in com.sleepycat.je">XAFailureException</a></span></code>
|
|
<div class="block">Thrown if an attempt is made to use a <a href="../../../../com/sleepycat/je/Transaction.html" title="class in com.sleepycat.je"><code>Transaction</code></a> after it has been
|
|
invalidated as the result of an XA failure.</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
|
|
<caption><span>Methods in <a href="../../../../com/sleepycat/je/package-summary.html">com.sleepycat.je</a> that throw <a href="../../../../com/sleepycat/je/DatabaseException.html" title="class in com.sleepycat.je">DatabaseException</a></span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Modifier and Type</th>
|
|
<th class="colLast" scope="col">Method and Description</th>
|
|
</tr>
|
|
<tbody>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><span class="typeNameLabel">Transaction.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/Transaction.html#abort--">abort</a></span>()</code>
|
|
<div class="block">Cause an abnormal termination of the transaction.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../com/sleepycat/je/Transaction.html" title="class in com.sleepycat.je">Transaction</a></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">Environment.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/Environment.html#beginTransaction-com.sleepycat.je.Transaction-com.sleepycat.je.TransactionConfig-">beginTransaction</a></span>(<a href="../../../../com/sleepycat/je/Transaction.html" title="class in com.sleepycat.je">Transaction</a> parent,
|
|
<a href="../../../../com/sleepycat/je/TransactionConfig.html" title="class in com.sleepycat.je">TransactionConfig</a> txnConfig)</code>
|
|
<div class="block">Creates a new transaction in the database environment.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><span class="typeNameLabel">Environment.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/Environment.html#checkpoint-com.sleepycat.je.CheckpointConfig-">checkpoint</a></span>(<a href="../../../../com/sleepycat/je/CheckpointConfig.html" title="class in com.sleepycat.je">CheckpointConfig</a> ckptConfig)</code>
|
|
<div class="block">Synchronously checkpoint the database environment.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<td class="colLast"><span class="typeNameLabel">Environment.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/Environment.html#cleanLog--">cleanLog</a></span>()</code>
|
|
<div class="block">Synchronously invokes log file (data file) cleaning until the target
|
|
disk space utilization has been reached; this method is called
|
|
periodically by the cleaner background threads.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><span class="typeNameLabel">Environment.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/Environment.html#cleanLogFile--">cleanLogFile</a></span>()</code>
|
|
<div class="block">Synchronously invokes cleaning of a single log file (data file), if
|
|
the target disk space utilization has not been reached.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><span class="typeNameLabel">Sequence.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/Sequence.html#close--">close</a></span>()</code>
|
|
<div class="block">Closes a sequence.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><span class="typeNameLabel">DiskOrderedCursor.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/DiskOrderedCursor.html#close--">close</a></span>()</code>
|
|
<div class="block">Discards the cursor.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><span class="typeNameLabel">Environment.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/Environment.html#close--">close</a></span>()</code>
|
|
<div class="block">The Environment.close method closes the Berkeley DB environment.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><span class="typeNameLabel">JoinCursor.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/JoinCursor.html#close--">close</a></span>()</code>
|
|
<div class="block">Closes the cursors that have been opened by this join cursor.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><span class="typeNameLabel">Transaction.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/Transaction.html#commit--">commit</a></span>()</code>
|
|
<div class="block">End the transaction.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><span class="typeNameLabel">Transaction.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/Transaction.html#commit-com.sleepycat.je.Durability-">commit</a></span>(<a href="../../../../com/sleepycat/je/Durability.html" title="class in com.sleepycat.je">Durability</a> durability)</code>
|
|
<div class="block">End the transaction using the specified durability requirements.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><span class="typeNameLabel">Transaction.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/Transaction.html#commitNoSync--">commitNoSync</a></span>()</code>
|
|
<div class="block">End the transaction, not writing to stable storage and not committing
|
|
synchronously.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><span class="typeNameLabel">Transaction.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/Transaction.html#commitSync--">commitSync</a></span>()</code>
|
|
<div class="block">End the transaction, writing to stable storage and committing
|
|
synchronously.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><span class="typeNameLabel">Transaction.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/Transaction.html#commitWriteNoSync--">commitWriteNoSync</a></span>()</code>
|
|
<div class="block">End the transaction, writing to stable storage but not committing
|
|
synchronously.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><span class="typeNameLabel">Environment.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/Environment.html#compress--">compress</a></span>()</code>
|
|
<div class="block">Synchronously invokes the compressor mechanism which compacts in memory
|
|
data structures after delete operations.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><span class="typeNameLabel">Environment.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/Environment.html#evictMemory--">evictMemory</a></span>()</code>
|
|
<div class="block">Synchronously invokes the mechanism for keeping memory usage within the
|
|
cache size boundaries.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>long</code></td>
|
|
<td class="colLast"><span class="typeNameLabel">Sequence.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/Sequence.html#get-com.sleepycat.je.Transaction-int-">get</a></span>(<a href="../../../../com/sleepycat/je/Transaction.html" title="class in com.sleepycat.je">Transaction</a> txn,
|
|
int delta)</code>
|
|
<div class="block">Returns the next available element in the sequence and changes the
|
|
sequence value by <code>delta</code>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../com/sleepycat/je/EnvironmentConfig.html" title="class in com.sleepycat.je">EnvironmentConfig</a></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">Environment.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/Environment.html#getConfig--">getConfig</a></span>()</code>
|
|
<div class="block">Returns this object's configuration.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>java.util.List<java.lang.String></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">Environment.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/Environment.html#getDatabaseNames--">getDatabaseNames</a></span>()</code>
|
|
<div class="block">Returns a List of database names for the database environment.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>java.io.File</code></td>
|
|
<td class="colLast"><span class="typeNameLabel">Environment.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/Environment.html#getHome--">getHome</a></span>()</code>
|
|
<div class="block">Returns the database environment's home directory.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../com/sleepycat/je/LockStats.html" title="class in com.sleepycat.je">LockStats</a></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">Environment.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/Environment.html#getLockStats-com.sleepycat.je.StatsConfig-">getLockStats</a></span>(<a href="../../../../com/sleepycat/je/StatsConfig.html" title="class in com.sleepycat.je">StatsConfig</a> config)</code>
|
|
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
|
|
<div class="block"><span class="deprecationComment">as of 4.0.10, replaced by <a href="../../../../com/sleepycat/je/Environment.html#getStats-com.sleepycat.je.StatsConfig-"><code>Environment.getStats(StatsConfig)</code></a>.</p></span></div>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../com/sleepycat/je/EnvironmentMutableConfig.html" title="class in com.sleepycat.je">EnvironmentMutableConfig</a></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">Environment.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/Environment.html#getMutableConfig--">getMutableConfig</a></span>()</code>
|
|
<div class="block">Returns database environment attributes.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../com/sleepycat/je/SequenceStats.html" title="class in com.sleepycat.je">SequenceStats</a></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">Sequence.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/Sequence.html#getStats-com.sleepycat.je.StatsConfig-">getStats</a></span>(<a href="../../../../com/sleepycat/je/StatsConfig.html" title="class in com.sleepycat.je">StatsConfig</a> config)</code>
|
|
<div class="block">Returns statistical information about the sequence.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../com/sleepycat/je/EnvironmentStats.html" title="class in com.sleepycat.je">EnvironmentStats</a></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">Environment.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/Environment.html#getStats-com.sleepycat.je.StatsConfig-">getStats</a></span>(<a href="../../../../com/sleepycat/je/StatsConfig.html" title="class in com.sleepycat.je">StatsConfig</a> config)</code>
|
|
<div class="block">Returns the general database environment statistics.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../com/sleepycat/je/Transaction.html" title="class in com.sleepycat.je">Transaction</a></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">Environment.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/Environment.html#getThreadTransaction--">getThreadTransaction</a></span>()</code>
|
|
<div class="block">Returns the transaction associated with this thread if implied
|
|
transactions are being used.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../com/sleepycat/je/TransactionStats.html" title="class in com.sleepycat.je">TransactionStats</a></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">Environment.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/Environment.html#getTransactionStats-com.sleepycat.je.StatsConfig-">getTransactionStats</a></span>(<a href="../../../../com/sleepycat/je/StatsConfig.html" title="class in com.sleepycat.je">StatsConfig</a> config)</code>
|
|
<div class="block">Returns the database environment's transactional statistics.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><span class="typeNameLabel">ForeignKeyNullifier.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/ForeignKeyNullifier.html#nullifyForeignKey-com.sleepycat.je.SecondaryDatabase-com.sleepycat.je.DatabaseEntry-">nullifyForeignKey</a></span>(<a href="../../../../com/sleepycat/je/SecondaryDatabase.html" title="class in com.sleepycat.je">SecondaryDatabase</a> secondary,
|
|
<a href="../../../../com/sleepycat/je/DatabaseEntry.html" title="class in com.sleepycat.je">DatabaseEntry</a> data)</code>
|
|
<div class="block">Sets the foreign key reference to null in the datum of the primary
|
|
database.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><span class="typeNameLabel">ForeignMultiKeyNullifier.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/ForeignMultiKeyNullifier.html#nullifyForeignKey-com.sleepycat.je.SecondaryDatabase-com.sleepycat.je.DatabaseEntry-com.sleepycat.je.DatabaseEntry-com.sleepycat.je.DatabaseEntry-">nullifyForeignKey</a></span>(<a href="../../../../com/sleepycat/je/SecondaryDatabase.html" title="class in com.sleepycat.je">SecondaryDatabase</a> secondary,
|
|
<a href="../../../../com/sleepycat/je/DatabaseEntry.html" title="class in com.sleepycat.je">DatabaseEntry</a> key,
|
|
<a href="../../../../com/sleepycat/je/DatabaseEntry.html" title="class in com.sleepycat.je">DatabaseEntry</a> data,
|
|
<a href="../../../../com/sleepycat/je/DatabaseEntry.html" title="class in com.sleepycat.je">DatabaseEntry</a> secKey)</code>
|
|
<div class="block">Sets the foreign key reference to null in the datum of the primary
|
|
database.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../com/sleepycat/je/DiskOrderedCursor.html" title="class in com.sleepycat.je">DiskOrderedCursor</a></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">Environment.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/Environment.html#openDiskOrderedCursor-com.sleepycat.je.Database:A-com.sleepycat.je.DiskOrderedCursorConfig-">openDiskOrderedCursor</a></span>(<a href="../../../../com/sleepycat/je/Database.html" title="class in com.sleepycat.je">Database</a>[] databases,
|
|
<a href="../../../../com/sleepycat/je/DiskOrderedCursorConfig.html" title="class in com.sleepycat.je">DiskOrderedCursorConfig</a> config)</code>
|
|
<div class="block">Create a DiskOrderedCursor to iterate over the records of a given set
|
|
of databases.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../com/sleepycat/je/SecondaryDatabase.html" title="class in com.sleepycat.je">SecondaryDatabase</a></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">Environment.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/Environment.html#openSecondaryDatabase-com.sleepycat.je.Transaction-java.lang.String-com.sleepycat.je.Database-com.sleepycat.je.SecondaryConfig-">openSecondaryDatabase</a></span>(<a href="../../../../com/sleepycat/je/Transaction.html" title="class in com.sleepycat.je">Transaction</a> txn,
|
|
java.lang.String databaseName,
|
|
<a href="../../../../com/sleepycat/je/Database.html" title="class in com.sleepycat.je">Database</a> primaryDatabase,
|
|
<a href="../../../../com/sleepycat/je/SecondaryConfig.html" title="class in com.sleepycat.je">SecondaryConfig</a> dbConfig)</code>
|
|
<div class="block">Opens and optionally creates a <code>SecondaryDatabase</code>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../com/sleepycat/je/PreloadStats.html" title="class in com.sleepycat.je">PreloadStats</a></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">Environment.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/Environment.html#preload-com.sleepycat.je.Database:A-com.sleepycat.je.PreloadConfig-">preload</a></span>(<a href="../../../../com/sleepycat/je/Database.html" title="class in com.sleepycat.je">Database</a>[] databases,
|
|
<a href="../../../../com/sleepycat/je/PreloadConfig.html" title="class in com.sleepycat.je">PreloadConfig</a> config)</code>
|
|
<div class="block">Preloads the cache with multiple databases.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><span class="typeNameLabel">Transaction.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/Transaction.html#setLockTimeout-long-">setLockTimeout</a></span>(long timeOut)</code>
|
|
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
|
|
<div class="block"><span class="deprecationComment">as of 4.0, replaced by <a href="../../../../com/sleepycat/je/Transaction.html#setLockTimeout-long-java.util.concurrent.TimeUnit-"><code>Transaction.setLockTimeout(long,
|
|
TimeUnit)</code></a>.</span></div>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><span class="typeNameLabel">Transaction.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/Transaction.html#setLockTimeout-long-java.util.concurrent.TimeUnit-">setLockTimeout</a></span>(long timeOut,
|
|
java.util.concurrent.TimeUnit unit)</code>
|
|
<div class="block">Configures the lock request timeout value for the transaction.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><span class="typeNameLabel">Environment.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/Environment.html#setMutableConfig-com.sleepycat.je.EnvironmentMutableConfig-">setMutableConfig</a></span>(<a href="../../../../com/sleepycat/je/EnvironmentMutableConfig.html" title="class in com.sleepycat.je">EnvironmentMutableConfig</a> mutableConfig)</code>
|
|
<div class="block">Sets database environment attributes.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><span class="typeNameLabel">Transaction.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/Transaction.html#setTxnTimeout-long-">setTxnTimeout</a></span>(long timeOut)</code>
|
|
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
|
|
<div class="block"><span class="deprecationComment">as of 4.0, replaced by <a href="../../../../com/sleepycat/je/Transaction.html#setTxnTimeout-long-java.util.concurrent.TimeUnit-"><code>Transaction.setTxnTimeout(long,
|
|
TimeUnit)</code></a>.</span></div>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><span class="typeNameLabel">Transaction.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/Transaction.html#setTxnTimeout-long-java.util.concurrent.TimeUnit-">setTxnTimeout</a></span>(long timeOut,
|
|
java.util.concurrent.TimeUnit unit)</code>
|
|
<div class="block">Configures the timeout value for the transaction lifetime.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><span class="typeNameLabel">Environment.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/Environment.html#sync--">sync</a></span>()</code>
|
|
<div class="block">Synchronously flushes database environment databases to stable storage.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><span class="typeNameLabel">Environment.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/Environment.html#verify-com.sleepycat.je.VerifyConfig-java.io.PrintStream-">verify</a></span>(<a href="../../../../com/sleepycat/je/VerifyConfig.html" title="class in com.sleepycat.je">VerifyConfig</a> config,
|
|
java.io.PrintStream out)</code>
|
|
<div class="block">Returns if the database environment is consistent and correct.</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing constructors, and an explanation">
|
|
<caption><span>Constructors in <a href="../../../../com/sleepycat/je/package-summary.html">com.sleepycat.je</a> that throw <a href="../../../../com/sleepycat/je/DatabaseException.html" title="class in com.sleepycat.je">DatabaseException</a></span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colOne" scope="col">Constructor and Description</th>
|
|
</tr>
|
|
<tbody>
|
|
<tr class="altColor">
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/Environment.html#Environment-java.io.File-com.sleepycat.je.EnvironmentConfig-">Environment</a></span>(java.io.File envHome,
|
|
<a href="../../../../com/sleepycat/je/EnvironmentConfig.html" title="class in com.sleepycat.je">EnvironmentConfig</a> configuration)</code>
|
|
<div class="block">Creates a database environment handle.</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</li>
|
|
<li class="blockList"><a name="com.sleepycat.je.jca.ra">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Uses of <a href="../../../../com/sleepycat/je/DatabaseException.html" title="class in com.sleepycat.je">DatabaseException</a> in <a href="../../../../com/sleepycat/je/jca/ra/package-summary.html">com.sleepycat.je.jca.ra</a></h3>
|
|
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
|
|
<caption><span>Methods in <a href="../../../../com/sleepycat/je/jca/ra/package-summary.html">com.sleepycat.je.jca.ra</a> that throw <a href="../../../../com/sleepycat/je/DatabaseException.html" title="class in com.sleepycat.je">DatabaseException</a></span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Modifier and Type</th>
|
|
<th class="colLast" scope="col">Method and Description</th>
|
|
</tr>
|
|
<tbody>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../com/sleepycat/je/Database.html" title="class in com.sleepycat.je">Database</a></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">JEConnection.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/jca/ra/JEConnection.html#openDatabase-java.lang.String-com.sleepycat.je.DatabaseConfig-">openDatabase</a></span>(java.lang.String name,
|
|
<a href="../../../../com/sleepycat/je/DatabaseConfig.html" title="class in com.sleepycat.je">DatabaseConfig</a> config)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../com/sleepycat/je/SecondaryDatabase.html" title="class in com.sleepycat.je">SecondaryDatabase</a></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">JEConnection.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/jca/ra/JEConnection.html#openSecondaryDatabase-java.lang.String-com.sleepycat.je.Database-com.sleepycat.je.SecondaryConfig-">openSecondaryDatabase</a></span>(java.lang.String name,
|
|
<a href="../../../../com/sleepycat/je/Database.html" title="class in com.sleepycat.je">Database</a> primaryDatabase,
|
|
<a href="../../../../com/sleepycat/je/SecondaryConfig.html" title="class in com.sleepycat.je">SecondaryConfig</a> config)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><span class="typeNameLabel">JEConnection.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/jca/ra/JEConnection.html#removeDatabase-java.lang.String-">removeDatabase</a></span>(java.lang.String databaseName)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>long</code></td>
|
|
<td class="colLast"><span class="typeNameLabel">JEConnection.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/jca/ra/JEConnection.html#truncateDatabase-java.lang.String-boolean-">truncateDatabase</a></span>(java.lang.String databaseName,
|
|
boolean returnCount)</code> </td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</li>
|
|
<li class="blockList"><a name="com.sleepycat.je.rep">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Uses of <a href="../../../../com/sleepycat/je/DatabaseException.html" title="class in com.sleepycat.je">DatabaseException</a> in <a href="../../../../com/sleepycat/je/rep/package-summary.html">com.sleepycat.je.rep</a></h3>
|
|
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing subclasses, and an explanation">
|
|
<caption><span>Subclasses of <a href="../../../../com/sleepycat/je/DatabaseException.html" title="class in com.sleepycat.je">DatabaseException</a> in <a href="../../../../com/sleepycat/je/rep/package-summary.html">com.sleepycat.je.rep</a></span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Modifier and Type</th>
|
|
<th class="colLast" scope="col">Class and Description</th>
|
|
</tr>
|
|
<tbody>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>class </code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/rep/DatabasePreemptedException.html" title="class in com.sleepycat.je.rep">DatabasePreemptedException</a></span></code>
|
|
<div class="block">Thrown when attempting to use a Database handle that was forcibly closed by
|
|
replication.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>class </code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/rep/GroupShutdownException.html" title="class in com.sleepycat.je.rep">GroupShutdownException</a></span></code>
|
|
<div class="block">Thrown when an attempt is made to access an environment that was
|
|
shutdown by the Master as a result of a call to
|
|
<a href="../../../../com/sleepycat/je/rep/ReplicatedEnvironment.html#shutdownGroup-long-java.util.concurrent.TimeUnit-"><code>ReplicatedEnvironment.shutdownGroup(long, TimeUnit)</code></a>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>class </code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/rep/InsufficientAcksException.html" title="class in com.sleepycat.je.rep">InsufficientAcksException</a></span></code>
|
|
<div class="block">
|
|
This exception is thrown at the time of a commit in a Master, if the Master
|
|
could not obtain transaction commit acknowledgments from its Replicas in
|
|
accordance with the <a href="../../../../com/sleepycat/je/Durability.ReplicaAckPolicy.html" title="enum in com.sleepycat.je"><code>Durability.ReplicaAckPolicy</code></a> currently in effect and within
|
|
the requested timeout interval.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>class </code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/rep/InsufficientLogException.html" title="class in com.sleepycat.je.rep">InsufficientLogException</a></span></code>
|
|
<div class="block">This exception indicates that the log files constituting the Environment are
|
|
insufficient and cannot be used as the basis for continuing with the
|
|
replication stream provided by the current master.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>class </code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/rep/InsufficientReplicasException.html" title="class in com.sleepycat.je.rep">InsufficientReplicasException</a></span></code>
|
|
<div class="block">Thrown by <a href="../../../../com/sleepycat/je/Environment.html#beginTransaction-com.sleepycat.je.Transaction-com.sleepycat.je.TransactionConfig-"><code>Environment.beginTransaction(com.sleepycat.je.Transaction, com.sleepycat.je.TransactionConfig)</code></a> and <a href="../../../../com/sleepycat/je/Transaction.html#commit--"><code>Transaction.commit()</code></a> when these operations are initiated at a Master which is
|
|
not in contact with a quorum of Replicas as determined by the <a href="../../../../com/sleepycat/je/Durability.ReplicaAckPolicy.html" title="enum in com.sleepycat.je"><code>Durability.ReplicaAckPolicy</code></a> that is in effect for the operation.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>class </code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/rep/LockPreemptedException.html" title="class in com.sleepycat.je.rep">LockPreemptedException</a></span></code>
|
|
<div class="block">Thrown when a lock has been "stolen", or preempted, from a transaction in a
|
|
replicated environment.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>class </code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/rep/LogOverwriteException.html" title="class in com.sleepycat.je.rep">LogOverwriteException</a></span></code>
|
|
<div class="block">Thrown when one or more log files are modified (overwritten) as the result
|
|
of a replication operation.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>class </code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/rep/MasterReplicaTransitionException.html" title="class in com.sleepycat.je.rep">MasterReplicaTransitionException</a></span></code>
|
|
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
|
|
<div class="block"><span class="deprecationComment">as of JE 5.0.88 because the environment no longer needs to
|
|
restart when transitioning from master to replica.</span></div>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>class </code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/rep/MasterStateException.html" title="class in com.sleepycat.je.rep">MasterStateException</a></span></code>
|
|
<div class="block">This exception indicates that the application attempted an operation that is
|
|
not permitted when it is in the <a href="../../../../com/sleepycat/je/rep/ReplicatedEnvironment.State.html#MASTER"><code>ReplicatedEnvironment.State.MASTER</code></a>
|
|
state.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>class </code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/rep/MasterTransferFailureException.html" title="class in com.sleepycat.je.rep">MasterTransferFailureException</a></span></code>
|
|
<div class="block">Thrown by <a href="../../../../com/sleepycat/je/rep/ReplicatedEnvironment.html#transferMaster-java.util.Set-int-java.util.concurrent.TimeUnit-"><code>ReplicatedEnvironment.transferMaster(java.util.Set<java.lang.String>, int, java.util.concurrent.TimeUnit)</code></a> if a Master Transfer
|
|
operation cannot be completed within the allotted time.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>class </code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/rep/MemberNotFoundException.html" title="class in com.sleepycat.je.rep">MemberNotFoundException</a></span></code>
|
|
<div class="block">Thrown when an operation requires a replication group member and that member
|
|
is not present in the replication group.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>class </code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/rep/ReplicaConsistencyException.html" title="class in com.sleepycat.je.rep">ReplicaConsistencyException</a></span></code>
|
|
<div class="block">This exception is thrown by a Replica to indicate it could not meet the
|
|
consistency requirements as defined by the
|
|
<code>ReplicaConsistencyPolicy</code> in effect for the transaction, within
|
|
the allowed timeout period.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>class </code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/rep/ReplicaStateException.html" title="class in com.sleepycat.je.rep">ReplicaStateException</a></span></code>
|
|
<div class="block">This exception indicates that the application attempted an operation that is
|
|
not permitted when it is in the <a href="../../../../com/sleepycat/je/rep/ReplicatedEnvironment.State.html#REPLICA"><code>ReplicatedEnvironment.State.REPLICA</code></a>
|
|
state.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>class </code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/rep/ReplicaWriteException.html" title="class in com.sleepycat.je.rep">ReplicaWriteException</a></span></code>
|
|
<div class="block">This exception indicates that an update operation or transaction commit
|
|
or abort was attempted while in the
|
|
<a href="../../../../com/sleepycat/je/rep/ReplicatedEnvironment.State.html#REPLICA"><code>ReplicatedEnvironment.State.REPLICA</code></a> state.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>class </code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/rep/RestartRequiredException.html" title="class in com.sleepycat.je.rep">RestartRequiredException</a></span></code>
|
|
<div class="block">RestartRequiredException serves as the base class for all exceptions which
|
|
makes it impossible for HA to proceed without some form of corrective action
|
|
on the part of the user, followed by a restart of the application.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>class </code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/rep/RollbackException.html" title="class in com.sleepycat.je.rep">RollbackException</a></span></code>
|
|
<div class="block">This asynchronous exception indicates that a new master has been selected,
|
|
this <code>Replica</code>'s log is ahead of the current <code>Master</code>,
|
|
and in this case, the <code>Replica</code> was unable to rollback without a
|
|
recovery.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>class </code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/rep/RollbackProhibitedException.html" title="class in com.sleepycat.je.rep">RollbackProhibitedException</a></span></code>
|
|
<div class="block">This exception may be thrown by a Replica during the <a
|
|
href="../../../../../ReplicationGuide/lifecycle.html#lifecycle-nodestartup">
|
|
replication stream sync-up</a> phase of startup.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>class </code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/rep/StateChangeException.html" title="class in com.sleepycat.je.rep">StateChangeException</a></span></code>
|
|
<div class="block">Provides a synchronous mechanism for informing an application about a change
|
|
in the state of the replication node.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>class </code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/rep/UnknownMasterException.html" title="class in com.sleepycat.je.rep">UnknownMasterException</a></span></code>
|
|
<div class="block">Indicates that the underlying operation requires communication with a
|
|
Master, but that a Master was not available.</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
|
|
<caption><span>Methods in <a href="../../../../com/sleepycat/je/rep/package-summary.html">com.sleepycat.je.rep</a> that throw <a href="../../../../com/sleepycat/je/DatabaseException.html" title="class in com.sleepycat.je">DatabaseException</a></span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Modifier and Type</th>
|
|
<th class="colLast" scope="col">Method and Description</th>
|
|
</tr>
|
|
<tbody>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><span class="typeNameLabel">ReplicatedEnvironment.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/rep/ReplicatedEnvironment.html#close--">close</a></span>()</code>
|
|
<div class="block">Close this ReplicatedEnvironment and release any resources used by the
|
|
handle.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../com/sleepycat/je/rep/ReplicationGroup.html" title="class in com.sleepycat.je.rep">ReplicationGroup</a></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">ReplicatedEnvironment.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/rep/ReplicatedEnvironment.html#getGroup--">getGroup</a></span>()</code>
|
|
<div class="block">Returns a description of the replication group as known by this node.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../com/sleepycat/je/rep/ReplicationConfig.html" title="class in com.sleepycat.je.rep">ReplicationConfig</a></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">ReplicatedEnvironment.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/rep/ReplicatedEnvironment.html#getRepConfig--">getRepConfig</a></span>()</code>
|
|
<div class="block">Return the replication configuration that has been used to create this
|
|
handle.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../com/sleepycat/je/rep/ReplicationMutableConfig.html" title="class in com.sleepycat.je.rep">ReplicationMutableConfig</a></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">ReplicatedEnvironment.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/rep/ReplicatedEnvironment.html#getRepMutableConfig--">getRepMutableConfig</a></span>()</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../com/sleepycat/je/rep/ReplicatedEnvironmentStats.html" title="class in com.sleepycat.je.rep">ReplicatedEnvironmentStats</a></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">ReplicatedEnvironment.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/rep/ReplicatedEnvironment.html#getRepStats-com.sleepycat.je.StatsConfig-">getRepStats</a></span>(<a href="../../../../com/sleepycat/je/StatsConfig.html" title="class in com.sleepycat.je">StatsConfig</a> config)</code>
|
|
<div class="block">Returns statistics associated with this environment.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../com/sleepycat/je/rep/ReplicatedEnvironment.State.html" title="enum in com.sleepycat.je.rep">ReplicatedEnvironment.State</a></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">ReplicatedEnvironment.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/rep/ReplicatedEnvironment.html#getState--">getState</a></span>()</code>
|
|
<div class="block">Returns the current state of the node associated with this replication
|
|
environment.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../com/sleepycat/je/rep/StateChangeListener.html" title="interface in com.sleepycat.je.rep">StateChangeListener</a></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">ReplicatedEnvironment.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/rep/ReplicatedEnvironment.html#getStateChangeListener--">getStateChangeListener</a></span>()</code>
|
|
<div class="block">Returns the listener used to receive asynchronous replication node state
|
|
change events.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><span class="typeNameLabel">ReplicatedEnvironment.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/rep/ReplicatedEnvironment.html#setRepMutableConfig-com.sleepycat.je.rep.ReplicationMutableConfig-">setRepMutableConfig</a></span>(<a href="../../../../com/sleepycat/je/rep/ReplicationMutableConfig.html" title="class in com.sleepycat.je.rep">ReplicationMutableConfig</a> mutableConfig)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><span class="typeNameLabel">ReplicatedEnvironment.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/rep/ReplicatedEnvironment.html#setStateChangeListener-com.sleepycat.je.rep.StateChangeListener-">setStateChangeListener</a></span>(<a href="../../../../com/sleepycat/je/rep/StateChangeListener.html" title="interface in com.sleepycat.je.rep">StateChangeListener</a> listener)</code>
|
|
<div class="block">Sets the listener used to receive asynchronous replication node state
|
|
change events.</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</li>
|
|
<li class="blockList"><a name="com.sleepycat.je.rep.arbiter">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Uses of <a href="../../../../com/sleepycat/je/DatabaseException.html" title="class in com.sleepycat.je">DatabaseException</a> in <a href="../../../../com/sleepycat/je/rep/arbiter/package-summary.html">com.sleepycat.je.rep.arbiter</a></h3>
|
|
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
|
|
<caption><span>Methods in <a href="../../../../com/sleepycat/je/rep/arbiter/package-summary.html">com.sleepycat.je.rep.arbiter</a> that throw <a href="../../../../com/sleepycat/je/DatabaseException.html" title="class in com.sleepycat.je">DatabaseException</a></span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Modifier and Type</th>
|
|
<th class="colLast" scope="col">Method and Description</th>
|
|
</tr>
|
|
<tbody>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../com/sleepycat/je/rep/arbiter/ArbiterStats.html" title="class in com.sleepycat.je.rep.arbiter">ArbiterStats</a></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">Arbiter.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/rep/arbiter/Arbiter.html#getStats-com.sleepycat.je.StatsConfig-">getStats</a></span>(<a href="../../../../com/sleepycat/je/StatsConfig.html" title="class in com.sleepycat.je">StatsConfig</a> config)</code>
|
|
<div class="block">Gets the Arbiter statistics.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><span class="typeNameLabel">Arbiter.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/rep/arbiter/Arbiter.html#setArbiterMutableConfig-com.sleepycat.je.rep.arbiter.ArbiterMutableConfig-">setArbiterMutableConfig</a></span>(<a href="../../../../com/sleepycat/je/rep/arbiter/ArbiterMutableConfig.html" title="class in com.sleepycat.je.rep.arbiter">ArbiterMutableConfig</a> config)</code>
|
|
<div class="block">Sets the Arbiter mutable attributes.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><span class="typeNameLabel">Arbiter.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/rep/arbiter/Arbiter.html#shutdown--">shutdown</a></span>()</code>
|
|
<div class="block">Shutdown the Arbiter.</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing constructors, and an explanation">
|
|
<caption><span>Constructors in <a href="../../../../com/sleepycat/je/rep/arbiter/package-summary.html">com.sleepycat.je.rep.arbiter</a> that throw <a href="../../../../com/sleepycat/je/DatabaseException.html" title="class in com.sleepycat.je">DatabaseException</a></span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colOne" scope="col">Constructor and Description</th>
|
|
</tr>
|
|
<tbody>
|
|
<tr class="altColor">
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/rep/arbiter/Arbiter.html#Arbiter-com.sleepycat.je.rep.arbiter.ArbiterConfig-">Arbiter</a></span>(<a href="../../../../com/sleepycat/je/rep/arbiter/ArbiterConfig.html" title="class in com.sleepycat.je.rep.arbiter">ArbiterConfig</a> arbiterConfig)</code>
|
|
<div class="block">An Arbiter used in elections and transaction acknowledgments.</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</li>
|
|
<li class="blockList"><a name="com.sleepycat.je.rep.monitor">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Uses of <a href="../../../../com/sleepycat/je/DatabaseException.html" title="class in com.sleepycat.je">DatabaseException</a> in <a href="../../../../com/sleepycat/je/rep/monitor/package-summary.html">com.sleepycat.je.rep.monitor</a></h3>
|
|
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
|
|
<caption><span>Methods in <a href="../../../../com/sleepycat/je/rep/monitor/package-summary.html">com.sleepycat.je.rep.monitor</a> that throw <a href="../../../../com/sleepycat/je/DatabaseException.html" title="class in com.sleepycat.je">DatabaseException</a></span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Modifier and Type</th>
|
|
<th class="colLast" scope="col">Method and Description</th>
|
|
</tr>
|
|
<tbody>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../com/sleepycat/je/rep/ReplicationGroup.html" title="class in com.sleepycat.je.rep">ReplicationGroup</a></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">Monitor.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/rep/monitor/Monitor.html#getGroup--">getGroup</a></span>()</code>
|
|
<div class="block">Returns the current composition of the group.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><span class="typeNameLabel">Monitor.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/rep/monitor/Monitor.html#startListener-com.sleepycat.je.rep.monitor.MonitorChangeListener-">startListener</a></span>(<a href="../../../../com/sleepycat/je/rep/monitor/MonitorChangeListener.html" title="interface in com.sleepycat.je.rep.monitor">MonitorChangeListener</a> newListener)</code>
|
|
<div class="block">Starts the listener so it's actively listening for election results and
|
|
broadcasts of replication group changes.</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</li>
|
|
<li class="blockList"><a name="com.sleepycat.je.util">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Uses of <a href="../../../../com/sleepycat/je/DatabaseException.html" title="class in com.sleepycat.je">DatabaseException</a> in <a href="../../../../com/sleepycat/je/util/package-summary.html">com.sleepycat.je.util</a></h3>
|
|
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
|
|
<caption><span>Methods in <a href="../../../../com/sleepycat/je/util/package-summary.html">com.sleepycat.je.util</a> that throw <a href="../../../../com/sleepycat/je/DatabaseException.html" title="class in com.sleepycat.je">DatabaseException</a></span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Modifier and Type</th>
|
|
<th class="colLast" scope="col">Method and Description</th>
|
|
</tr>
|
|
<tbody>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><span class="typeNameLabel">DbLoad.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/util/DbLoad.html#load--">load</a></span>()</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>static void</code></td>
|
|
<td class="colLast"><span class="typeNameLabel">DbStat.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/util/DbStat.html#main-java.lang.String:A-">main</a></span>(java.lang.String[] argv)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static void</code></td>
|
|
<td class="colLast"><span class="typeNameLabel">DbVerify.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/util/DbVerify.html#main-java.lang.String:A-">main</a></span>(java.lang.String[] argv)</code>
|
|
<div class="block">The main used by the DbVerify utility.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><span class="typeNameLabel">DbSpace.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/util/DbSpace.html#print-java.io.PrintStream-">print</a></span>(java.io.PrintStream out)</code>
|
|
<div class="block">Calculates utilization and prints a report to the given output stream.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><span class="typeNameLabel">DbBackup.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/util/DbBackup.html#startBackup--">startBackup</a></span>()</code>
|
|
<div class="block">Start backup mode in order to determine the definitive backup set needed
|
|
at this point in time.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><span class="typeNameLabel">DbVerify.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/util/DbVerify.html#verify-java.io.PrintStream-">verify</a></span>(java.io.PrintStream out)</code>
|
|
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
|
|
<div class="block"><span class="deprecationComment">as of 7.5, use <a href="../../../../com/sleepycat/je/Environment.html#verify-com.sleepycat.je.VerifyConfig-java.io.PrintStream-"><code>Environment.verify(com.sleepycat.je.VerifyConfig, java.io.PrintStream)</code></a> or
|
|
<a href="../../../../com/sleepycat/je/Database.html#verify-com.sleepycat.je.VerifyConfig-"><code>Database.verify(com.sleepycat.je.VerifyConfig)</code></a> instead. These methods allow
|
|
specifying all <a href="../../../../com/sleepycat/je/VerifyConfig.html" title="class in com.sleepycat.je"><code>VerifyConfig</code></a> properties.</span></div>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing constructors, and an explanation">
|
|
<caption><span>Constructors in <a href="../../../../com/sleepycat/je/util/package-summary.html">com.sleepycat.je.util</a> that throw <a href="../../../../com/sleepycat/je/DatabaseException.html" title="class in com.sleepycat.je">DatabaseException</a></span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colOne" scope="col">Constructor and Description</th>
|
|
</tr>
|
|
<tbody>
|
|
<tr class="altColor">
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/sleepycat/je/util/DbBackup.html#DbBackup-com.sleepycat.je.Environment-">DbBackup</a></span>(<a href="../../../../com/sleepycat/je/Environment.html" title="class in com.sleepycat.je">Environment</a> env)</code>
|
|
<div class="block">Creates a DbBackup helper for a full backup.</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</li>
|
|
<li class="blockList"><a name="com.sleepycat.persist">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Uses of <a href="../../../../com/sleepycat/je/DatabaseException.html" title="class in com.sleepycat.je">DatabaseException</a> in <a href="../../../../com/sleepycat/persist/package-summary.html">com.sleepycat.persist</a></h3>
|
|
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing subclasses, and an explanation">
|
|
<caption><span>Subclasses of <a href="../../../../com/sleepycat/je/DatabaseException.html" title="class in com.sleepycat.je">DatabaseException</a> in <a href="../../../../com/sleepycat/persist/package-summary.html">com.sleepycat.persist</a></span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Modifier and Type</th>
|
|
<th class="colLast" scope="col">Class and Description</th>
|
|
</tr>
|
|
<tbody>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>class </code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/sleepycat/persist/IndexNotAvailableException.html" title="class in com.sleepycat.persist">IndexNotAvailableException</a></span></code>
|
|
<div class="block">Thrown by the <a href="../../../../com/sleepycat/persist/EntityStore.html#getPrimaryIndex-java.lang.Class-java.lang.Class-"><code>getPrimaryIndex</code></a>, <a href="../../../../com/sleepycat/persist/EntityStore.html#getSecondaryIndex-com.sleepycat.persist.PrimaryIndex-java.lang.Class-java.lang.String-"><code>getSecondaryIndex</code></a> and <a href="../../../../com/sleepycat/persist/EntityStore.html#getSubclassIndex-com.sleepycat.persist.PrimaryIndex-java.lang.Class-java.lang.Class-java.lang.String-"><code>getSubclassIndex</code></a> when an index has not yet
|
|
been created.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>class </code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/sleepycat/persist/StoreExistsException.html" title="class in com.sleepycat.persist">StoreExistsException</a></span></code>
|
|
<div class="block">Thrown by the <a href="../../../../com/sleepycat/persist/EntityStore.html" title="class in com.sleepycat.persist"><code>EntityStore</code></a> constructor when the <a href="../../../../com/sleepycat/persist/StoreConfig.html#setExclusiveCreate-boolean-"><code>ExclusiveCreate</code></a> configuration parameter is
|
|
true and the store's internal catalog database already exists.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>class </code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/sleepycat/persist/StoreNotFoundException.html" title="class in com.sleepycat.persist">StoreNotFoundException</a></span></code>
|
|
<div class="block">Thrown by the <a href="../../../../com/sleepycat/persist/EntityStore.html" title="class in com.sleepycat.persist"><code>EntityStore</code></a> constructor when the <a href="../../../../com/sleepycat/persist/StoreConfig.html#setAllowCreate-boolean-"><code>AllowCreate</code></a> configuration parameter is false and
|
|
the store's internal catalog database does not exist.</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
|
|
<caption><span>Methods in <a href="../../../../com/sleepycat/persist/package-summary.html">com.sleepycat.persist</a> that throw <a href="../../../../com/sleepycat/je/DatabaseException.html" title="class in com.sleepycat.je">DatabaseException</a></span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Modifier and Type</th>
|
|
<th class="colLast" scope="col">Method and Description</th>
|
|
</tr>
|
|
<tbody>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><span class="typeNameLabel">EntityStore.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/persist/EntityStore.html#close--">close</a></span>()</code>
|
|
<div class="block">Closes all databases and sequences that were opened via this store.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><span class="typeNameLabel">ForwardCursor.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/persist/ForwardCursor.html#close--">close</a></span>()</code>
|
|
<div class="block">Closes the cursor.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><span class="typeNameLabel">EntityCursor.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/persist/EntityCursor.html#close--">close</a></span>()</code>
|
|
<div class="block">Closes the cursor.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><span class="typeNameLabel">EntityStore.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/persist/EntityStore.html#closeClass-java.lang.Class-">closeClass</a></span>(java.lang.Class entityClass)</code>
|
|
<div class="block">Closes the primary and secondary databases for the given entity class
|
|
that were opened via this store.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><span class="typeNameLabel">EntityIndex.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/persist/EntityIndex.html#contains-K-">contains</a></span>(<a href="../../../../com/sleepycat/persist/EntityIndex.html" title="type parameter in EntityIndex">K</a> key)</code>
|
|
<div class="block">Checks for existence of a key in this index.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><span class="typeNameLabel">EntityIndex.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/persist/EntityIndex.html#contains-com.sleepycat.je.Transaction-K-com.sleepycat.je.LockMode-">contains</a></span>(<a href="../../../../com/sleepycat/je/Transaction.html" title="class in com.sleepycat.je">Transaction</a> txn,
|
|
<a href="../../../../com/sleepycat/persist/EntityIndex.html" title="type parameter in EntityIndex">K</a> key,
|
|
<a href="../../../../com/sleepycat/je/LockMode.html" title="enum in com.sleepycat.je">LockMode</a> lockMode)</code>
|
|
<div class="block">Checks for existence of a key in this index.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>long</code></td>
|
|
<td class="colLast"><span class="typeNameLabel">EntityIndex.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/persist/EntityIndex.html#count--">count</a></span>()</code>
|
|
<div class="block">Returns a non-transactional count of the entities in this index.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<td class="colLast"><span class="typeNameLabel">EntityCursor.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/persist/EntityCursor.html#count--">count</a></span>()</code>
|
|
<div class="block">Returns the number of values (duplicates) for the key at the cursor
|
|
position, or returns zero if all values for the key have been deleted.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>long</code></td>
|
|
<td class="colLast"><span class="typeNameLabel">EntityIndex.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/persist/EntityIndex.html#count-long-">count</a></span>(long memoryLimit)</code>
|
|
<div class="block">Returns a non-transactional count of the entities in this index.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>long</code></td>
|
|
<td class="colLast"><span class="typeNameLabel">EntityCursor.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/persist/EntityCursor.html#countEstimate--">countEstimate</a></span>()</code>
|
|
<div class="block">Returns a rough estimate of the number of values (duplicates) for the
|
|
key at the cursor position, or returns zero if all values for the key
|
|
have been deleted.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../com/sleepycat/persist/EntityCursor.html" title="type parameter in EntityCursor">V</a></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">EntityCursor.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/persist/EntityCursor.html#current--">current</a></span>()</code>
|
|
<div class="block">Returns the value at the cursor position, or null if the value at the
|
|
cursor position has been deleted.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../com/sleepycat/persist/EntityCursor.html" title="type parameter in EntityCursor">V</a></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">EntityCursor.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/persist/EntityCursor.html#current-com.sleepycat.je.LockMode-">current</a></span>(<a href="../../../../com/sleepycat/je/LockMode.html" title="enum in com.sleepycat.je">LockMode</a> lockMode)</code>
|
|
<div class="block">Returns the value at the cursor position, or null if the value at the
|
|
cursor position has been deleted.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><span class="typeNameLabel">EntityCursor.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/persist/EntityCursor.html#delete--">delete</a></span>()</code>
|
|
<div class="block">Deletes the entity at the cursor position.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><span class="typeNameLabel">EntityIndex.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/persist/EntityIndex.html#delete-K-">delete</a></span>(<a href="../../../../com/sleepycat/persist/EntityIndex.html" title="type parameter in EntityIndex">K</a> key)</code>
|
|
<div class="block">Deletes all entities with a given index key.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><span class="typeNameLabel">EntityIndex.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/persist/EntityIndex.html#delete-com.sleepycat.je.Transaction-K-">delete</a></span>(<a href="../../../../com/sleepycat/je/Transaction.html" title="class in com.sleepycat.je">Transaction</a> txn,
|
|
<a href="../../../../com/sleepycat/persist/EntityIndex.html" title="type parameter in EntityIndex">K</a> key)</code>
|
|
<div class="block">Deletes all entities with a given index key.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../com/sleepycat/je/OperationResult.html" title="class in com.sleepycat.je">OperationResult</a></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">EntityIndex.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/persist/EntityIndex.html#delete-com.sleepycat.je.Transaction-K-com.sleepycat.je.WriteOptions-">delete</a></span>(<a href="../../../../com/sleepycat/je/Transaction.html" title="class in com.sleepycat.je">Transaction</a> txn,
|
|
<a href="../../../../com/sleepycat/persist/EntityIndex.html" title="type parameter in EntityIndex">K</a> key,
|
|
<a href="../../../../com/sleepycat/je/WriteOptions.html" title="class in com.sleepycat.je">WriteOptions</a> options)</code>
|
|
<div class="block">Deletes all entities with a given index key, using a WriteOptions
|
|
parameter and returning an OperationResult.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../com/sleepycat/je/OperationResult.html" title="class in com.sleepycat.je">OperationResult</a></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">EntityCursor.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/persist/EntityCursor.html#delete-com.sleepycat.je.WriteOptions-">delete</a></span>(<a href="../../../../com/sleepycat/je/WriteOptions.html" title="class in com.sleepycat.je">WriteOptions</a> options)</code>
|
|
<div class="block">Deletes the entity at the cursor position, using a WriteOptions
|
|
parameter and returning an OperationResult.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../com/sleepycat/persist/EntityCursor.html" title="interface in com.sleepycat.persist">EntityCursor</a><<a href="../../../../com/sleepycat/persist/EntityCursor.html" title="type parameter in EntityCursor">V</a>></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">EntityCursor.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/persist/EntityCursor.html#dup--">dup</a></span>()</code>
|
|
<div class="block">Duplicates the cursor at the cursor position.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../com/sleepycat/persist/EntityCursor.html" title="interface in com.sleepycat.persist">EntityCursor</a><<a href="../../../../com/sleepycat/persist/EntityIndex.html" title="type parameter in EntityIndex">V</a>></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">EntityIndex.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/persist/EntityIndex.html#entities--">entities</a></span>()</code>
|
|
<div class="block">Opens a cursor for traversing all entities in this index.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../com/sleepycat/persist/ForwardCursor.html" title="interface in com.sleepycat.persist">ForwardCursor</a><<a href="../../../../com/sleepycat/persist/EntityJoin.html" title="type parameter in EntityJoin">E</a>></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">EntityJoin.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/persist/EntityJoin.html#entities--">entities</a></span>()</code>
|
|
<div class="block">Opens a cursor that returns the entities qualifying for the join.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../com/sleepycat/persist/EntityCursor.html" title="interface in com.sleepycat.persist">EntityCursor</a><<a href="../../../../com/sleepycat/persist/EntityIndex.html" title="type parameter in EntityIndex">V</a>></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">EntityIndex.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/persist/EntityIndex.html#entities-K-boolean-K-boolean-">entities</a></span>(<a href="../../../../com/sleepycat/persist/EntityIndex.html" title="type parameter in EntityIndex">K</a> fromKey,
|
|
boolean fromInclusive,
|
|
<a href="../../../../com/sleepycat/persist/EntityIndex.html" title="type parameter in EntityIndex">K</a> toKey,
|
|
boolean toInclusive)</code>
|
|
<div class="block">Opens a cursor for traversing entities in a key range.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../com/sleepycat/persist/EntityCursor.html" title="interface in com.sleepycat.persist">EntityCursor</a><<a href="../../../../com/sleepycat/persist/EntityIndex.html" title="type parameter in EntityIndex">V</a>></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">EntityIndex.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/persist/EntityIndex.html#entities-com.sleepycat.je.Transaction-com.sleepycat.je.CursorConfig-">entities</a></span>(<a href="../../../../com/sleepycat/je/Transaction.html" title="class in com.sleepycat.je">Transaction</a> txn,
|
|
<a href="../../../../com/sleepycat/je/CursorConfig.html" title="class in com.sleepycat.je">CursorConfig</a> config)</code>
|
|
<div class="block">Opens a cursor for traversing all entities in this index.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../com/sleepycat/persist/ForwardCursor.html" title="interface in com.sleepycat.persist">ForwardCursor</a><<a href="../../../../com/sleepycat/persist/EntityJoin.html" title="type parameter in EntityJoin">E</a>></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">EntityJoin.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/persist/EntityJoin.html#entities-com.sleepycat.je.Transaction-com.sleepycat.je.CursorConfig-">entities</a></span>(<a href="../../../../com/sleepycat/je/Transaction.html" title="class in com.sleepycat.je">Transaction</a> txn,
|
|
<a href="../../../../com/sleepycat/je/CursorConfig.html" title="class in com.sleepycat.je">CursorConfig</a> config)</code>
|
|
<div class="block">Opens a cursor that returns the entities qualifying for the join.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../com/sleepycat/persist/EntityCursor.html" title="interface in com.sleepycat.persist">EntityCursor</a><<a href="../../../../com/sleepycat/persist/EntityIndex.html" title="type parameter in EntityIndex">V</a>></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">EntityIndex.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/persist/EntityIndex.html#entities-com.sleepycat.je.Transaction-K-boolean-K-boolean-com.sleepycat.je.CursorConfig-">entities</a></span>(<a href="../../../../com/sleepycat/je/Transaction.html" title="class in com.sleepycat.je">Transaction</a> txn,
|
|
<a href="../../../../com/sleepycat/persist/EntityIndex.html" title="type parameter in EntityIndex">K</a> fromKey,
|
|
boolean fromInclusive,
|
|
<a href="../../../../com/sleepycat/persist/EntityIndex.html" title="type parameter in EntityIndex">K</a> toKey,
|
|
boolean toInclusive,
|
|
<a href="../../../../com/sleepycat/je/CursorConfig.html" title="class in com.sleepycat.je">CursorConfig</a> config)</code>
|
|
<div class="block">Opens a cursor for traversing entities in a key range.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../com/sleepycat/persist/evolve/EvolveStats.html" title="class in com.sleepycat.persist.evolve">EvolveStats</a></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">EntityStore.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/persist/EntityStore.html#evolve-com.sleepycat.persist.evolve.EvolveConfig-">evolve</a></span>(<a href="../../../../com/sleepycat/persist/evolve/EvolveConfig.html" title="class in com.sleepycat.persist.evolve">EvolveConfig</a> config)</code>
|
|
<div class="block">Performs conversion of unevolved objects in order to reduce lazy
|
|
conversion overhead.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../com/sleepycat/persist/EntityCursor.html" title="type parameter in EntityCursor">V</a></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">EntityCursor.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/persist/EntityCursor.html#first--">first</a></span>()</code>
|
|
<div class="block">Moves the cursor to the first value and returns it, or returns null if
|
|
the cursor range is empty.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../com/sleepycat/persist/EntityCursor.html" title="type parameter in EntityCursor">V</a></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">EntityCursor.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/persist/EntityCursor.html#first-com.sleepycat.je.LockMode-">first</a></span>(<a href="../../../../com/sleepycat/je/LockMode.html" title="enum in com.sleepycat.je">LockMode</a> lockMode)</code>
|
|
<div class="block">Moves the cursor to the first value and returns it, or returns null if
|
|
the cursor range is empty.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../com/sleepycat/persist/EntityResult.html" title="class in com.sleepycat.persist">EntityResult</a><<a href="../../../../com/sleepycat/persist/EntityCursor.html" title="type parameter in EntityCursor">V</a>></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">EntityCursor.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/persist/EntityCursor.html#get-com.sleepycat.je.Get-com.sleepycat.je.ReadOptions-">get</a></span>(<a href="../../../../com/sleepycat/je/Get.html" title="enum in com.sleepycat.je">Get</a> getType,
|
|
<a href="../../../../com/sleepycat/je/ReadOptions.html" title="class in com.sleepycat.je">ReadOptions</a> options)</code>
|
|
<div class="block">Moves the cursor according to the specified <a href="../../../../com/sleepycat/je/Get.html" title="enum in com.sleepycat.je"><code>Get</code></a> type and returns
|
|
the value at the updated position.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../com/sleepycat/persist/EntityIndex.html" title="type parameter in EntityIndex">V</a></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">EntityIndex.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/persist/EntityIndex.html#get-K-">get</a></span>(<a href="../../../../com/sleepycat/persist/EntityIndex.html" title="type parameter in EntityIndex">K</a> key)</code>
|
|
<div class="block">Gets an entity via a key of this index.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../com/sleepycat/persist/PrimaryIndex.html" title="type parameter in PrimaryIndex">E</a></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">PrimaryIndex.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/persist/PrimaryIndex.html#get-PK-">get</a></span>(<a href="../../../../com/sleepycat/persist/PrimaryIndex.html" title="type parameter in PrimaryIndex">PK</a> key)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../com/sleepycat/persist/SecondaryIndex.html" title="type parameter in SecondaryIndex">E</a></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">SecondaryIndex.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/persist/SecondaryIndex.html#get-SK-">get</a></span>(<a href="../../../../com/sleepycat/persist/SecondaryIndex.html" title="type parameter in SecondaryIndex">SK</a> key)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../com/sleepycat/persist/EntityResult.html" title="class in com.sleepycat.persist">EntityResult</a><<a href="../../../../com/sleepycat/persist/EntityIndex.html" title="type parameter in EntityIndex">V</a>></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">EntityIndex.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/persist/EntityIndex.html#get-com.sleepycat.je.Transaction-K-com.sleepycat.je.Get-com.sleepycat.je.ReadOptions-">get</a></span>(<a href="../../../../com/sleepycat/je/Transaction.html" title="class in com.sleepycat.je">Transaction</a> txn,
|
|
<a href="../../../../com/sleepycat/persist/EntityIndex.html" title="type parameter in EntityIndex">K</a> key,
|
|
<a href="../../../../com/sleepycat/je/Get.html" title="enum in com.sleepycat.je">Get</a> getType,
|
|
<a href="../../../../com/sleepycat/je/ReadOptions.html" title="class in com.sleepycat.je">ReadOptions</a> options)</code>
|
|
<div class="block">Gets an entity via a key of this index, using Get type and ReadOptions
|
|
parameters, and returning an EntityResult.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../com/sleepycat/persist/EntityIndex.html" title="type parameter in EntityIndex">V</a></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">EntityIndex.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/persist/EntityIndex.html#get-com.sleepycat.je.Transaction-K-com.sleepycat.je.LockMode-">get</a></span>(<a href="../../../../com/sleepycat/je/Transaction.html" title="class in com.sleepycat.je">Transaction</a> txn,
|
|
<a href="../../../../com/sleepycat/persist/EntityIndex.html" title="type parameter in EntityIndex">K</a> key,
|
|
<a href="../../../../com/sleepycat/je/LockMode.html" title="enum in com.sleepycat.je">LockMode</a> lockMode)</code>
|
|
<div class="block">Gets an entity via a key of this index.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../com/sleepycat/persist/EntityResult.html" title="class in com.sleepycat.persist">EntityResult</a><<a href="../../../../com/sleepycat/persist/PrimaryIndex.html" title="type parameter in PrimaryIndex">E</a>></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">PrimaryIndex.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/persist/PrimaryIndex.html#get-com.sleepycat.je.Transaction-PK-com.sleepycat.je.Get-com.sleepycat.je.ReadOptions-">get</a></span>(<a href="../../../../com/sleepycat/je/Transaction.html" title="class in com.sleepycat.je">Transaction</a> txn,
|
|
<a href="../../../../com/sleepycat/persist/PrimaryIndex.html" title="type parameter in PrimaryIndex">PK</a> key,
|
|
<a href="../../../../com/sleepycat/je/Get.html" title="enum in com.sleepycat.je">Get</a> getType,
|
|
<a href="../../../../com/sleepycat/je/ReadOptions.html" title="class in com.sleepycat.je">ReadOptions</a> options)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../com/sleepycat/persist/PrimaryIndex.html" title="type parameter in PrimaryIndex">E</a></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">PrimaryIndex.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/persist/PrimaryIndex.html#get-com.sleepycat.je.Transaction-PK-com.sleepycat.je.LockMode-">get</a></span>(<a href="../../../../com/sleepycat/je/Transaction.html" title="class in com.sleepycat.je">Transaction</a> txn,
|
|
<a href="../../../../com/sleepycat/persist/PrimaryIndex.html" title="type parameter in PrimaryIndex">PK</a> key,
|
|
<a href="../../../../com/sleepycat/je/LockMode.html" title="enum in com.sleepycat.je">LockMode</a> lockMode)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../com/sleepycat/persist/EntityResult.html" title="class in com.sleepycat.persist">EntityResult</a><<a href="../../../../com/sleepycat/persist/SecondaryIndex.html" title="type parameter in SecondaryIndex">E</a>></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">SecondaryIndex.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/persist/SecondaryIndex.html#get-com.sleepycat.je.Transaction-SK-com.sleepycat.je.Get-com.sleepycat.je.ReadOptions-">get</a></span>(<a href="../../../../com/sleepycat/je/Transaction.html" title="class in com.sleepycat.je">Transaction</a> txn,
|
|
<a href="../../../../com/sleepycat/persist/SecondaryIndex.html" title="type parameter in SecondaryIndex">SK</a> key,
|
|
<a href="../../../../com/sleepycat/je/Get.html" title="enum in com.sleepycat.je">Get</a> getType,
|
|
<a href="../../../../com/sleepycat/je/ReadOptions.html" title="class in com.sleepycat.je">ReadOptions</a> options)</code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../com/sleepycat/persist/SecondaryIndex.html" title="type parameter in SecondaryIndex">E</a></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">SecondaryIndex.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/persist/SecondaryIndex.html#get-com.sleepycat.je.Transaction-SK-com.sleepycat.je.LockMode-">get</a></span>(<a href="../../../../com/sleepycat/je/Transaction.html" title="class in com.sleepycat.je">Transaction</a> txn,
|
|
<a href="../../../../com/sleepycat/persist/SecondaryIndex.html" title="type parameter in SecondaryIndex">SK</a> key,
|
|
<a href="../../../../com/sleepycat/je/LockMode.html" title="enum in com.sleepycat.je">LockMode</a> lockMode)</code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><PK,E> <a href="../../../../com/sleepycat/persist/PrimaryIndex.html" title="class in com.sleepycat.persist">PrimaryIndex</a><PK,E></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">EntityStore.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/persist/EntityStore.html#getPrimaryIndex-java.lang.Class-java.lang.Class-">getPrimaryIndex</a></span>(java.lang.Class<PK> primaryKeyClass,
|
|
java.lang.Class<E> entityClass)</code>
|
|
<div class="block">Returns the primary index for a given entity class, opening it if
|
|
necessary.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><SK,PK,E> <a href="../../../../com/sleepycat/persist/SecondaryIndex.html" title="class in com.sleepycat.persist">SecondaryIndex</a><SK,PK,E></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">EntityStore.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/persist/EntityStore.html#getSecondaryIndex-com.sleepycat.persist.PrimaryIndex-java.lang.Class-java.lang.String-">getSecondaryIndex</a></span>(<a href="../../../../com/sleepycat/persist/PrimaryIndex.html" title="class in com.sleepycat.persist">PrimaryIndex</a><PK,E> primaryIndex,
|
|
java.lang.Class<SK> keyClass,
|
|
java.lang.String keyName)</code>
|
|
<div class="block">Returns a secondary index for a given primary index and secondary key,
|
|
opening it if necessary.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../com/sleepycat/je/Sequence.html" title="class in com.sleepycat.je">Sequence</a></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">EntityStore.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/persist/EntityStore.html#getSequence-java.lang.String-">getSequence</a></span>(java.lang.String name)</code>
|
|
<div class="block">Returns a named sequence for using Berkeley DB engine API directly,
|
|
opening it if necessary.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static java.util.Set<java.lang.String></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">EntityStore.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/persist/EntityStore.html#getStoreNames-com.sleepycat.je.Environment-">getStoreNames</a></span>(<a href="../../../../com/sleepycat/je/Environment.html" title="class in com.sleepycat.je">Environment</a> env)</code>
|
|
<div class="block">Returns the names of all entity stores in the given environment.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><SK,PK,E1,E2 extends E1><br><a href="../../../../com/sleepycat/persist/SecondaryIndex.html" title="class in com.sleepycat.persist">SecondaryIndex</a><SK,PK,E2></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">EntityStore.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/persist/EntityStore.html#getSubclassIndex-com.sleepycat.persist.PrimaryIndex-java.lang.Class-java.lang.Class-java.lang.String-">getSubclassIndex</a></span>(<a href="../../../../com/sleepycat/persist/PrimaryIndex.html" title="class in com.sleepycat.persist">PrimaryIndex</a><PK,E1> primaryIndex,
|
|
java.lang.Class<E2> entitySubclass,
|
|
java.lang.Class<SK> keyClass,
|
|
java.lang.String keyName)</code>
|
|
<div class="block">Returns a secondary index for a secondary key in an entity subclass,
|
|
opening it if necessary.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../com/sleepycat/persist/EntityCursor.html" title="interface in com.sleepycat.persist">EntityCursor</a><<a href="../../../../com/sleepycat/persist/EntityIndex.html" title="type parameter in EntityIndex">K</a>></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">EntityIndex.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/persist/EntityIndex.html#keys--">keys</a></span>()</code>
|
|
<div class="block">Opens a cursor for traversing all keys in this index.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../com/sleepycat/persist/ForwardCursor.html" title="interface in com.sleepycat.persist">ForwardCursor</a><<a href="../../../../com/sleepycat/persist/EntityJoin.html" title="type parameter in EntityJoin">PK</a>></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">EntityJoin.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/persist/EntityJoin.html#keys--">keys</a></span>()</code>
|
|
<div class="block">Opens a cursor that returns the primary keys of entities qualifying for
|
|
the join.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../com/sleepycat/persist/EntityCursor.html" title="interface in com.sleepycat.persist">EntityCursor</a><<a href="../../../../com/sleepycat/persist/EntityIndex.html" title="type parameter in EntityIndex">K</a>></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">EntityIndex.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/persist/EntityIndex.html#keys-K-boolean-K-boolean-">keys</a></span>(<a href="../../../../com/sleepycat/persist/EntityIndex.html" title="type parameter in EntityIndex">K</a> fromKey,
|
|
boolean fromInclusive,
|
|
<a href="../../../../com/sleepycat/persist/EntityIndex.html" title="type parameter in EntityIndex">K</a> toKey,
|
|
boolean toInclusive)</code>
|
|
<div class="block">Opens a cursor for traversing keys in a key range.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../com/sleepycat/persist/EntityCursor.html" title="interface in com.sleepycat.persist">EntityCursor</a><<a href="../../../../com/sleepycat/persist/EntityIndex.html" title="type parameter in EntityIndex">K</a>></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">EntityIndex.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/persist/EntityIndex.html#keys-com.sleepycat.je.Transaction-com.sleepycat.je.CursorConfig-">keys</a></span>(<a href="../../../../com/sleepycat/je/Transaction.html" title="class in com.sleepycat.je">Transaction</a> txn,
|
|
<a href="../../../../com/sleepycat/je/CursorConfig.html" title="class in com.sleepycat.je">CursorConfig</a> config)</code>
|
|
<div class="block">Opens a cursor for traversing all keys in this index.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../com/sleepycat/persist/ForwardCursor.html" title="interface in com.sleepycat.persist">ForwardCursor</a><<a href="../../../../com/sleepycat/persist/EntityJoin.html" title="type parameter in EntityJoin">PK</a>></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">EntityJoin.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/persist/EntityJoin.html#keys-com.sleepycat.je.Transaction-com.sleepycat.je.CursorConfig-">keys</a></span>(<a href="../../../../com/sleepycat/je/Transaction.html" title="class in com.sleepycat.je">Transaction</a> txn,
|
|
<a href="../../../../com/sleepycat/je/CursorConfig.html" title="class in com.sleepycat.je">CursorConfig</a> config)</code>
|
|
<div class="block">Opens a cursor that returns the primary keys of entities qualifying for
|
|
the join.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../com/sleepycat/persist/EntityCursor.html" title="interface in com.sleepycat.persist">EntityCursor</a><<a href="../../../../com/sleepycat/persist/EntityIndex.html" title="type parameter in EntityIndex">K</a>></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">EntityIndex.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/persist/EntityIndex.html#keys-com.sleepycat.je.Transaction-K-boolean-K-boolean-com.sleepycat.je.CursorConfig-">keys</a></span>(<a href="../../../../com/sleepycat/je/Transaction.html" title="class in com.sleepycat.je">Transaction</a> txn,
|
|
<a href="../../../../com/sleepycat/persist/EntityIndex.html" title="type parameter in EntityIndex">K</a> fromKey,
|
|
boolean fromInclusive,
|
|
<a href="../../../../com/sleepycat/persist/EntityIndex.html" title="type parameter in EntityIndex">K</a> toKey,
|
|
boolean toInclusive,
|
|
<a href="../../../../com/sleepycat/je/CursorConfig.html" title="class in com.sleepycat.je">CursorConfig</a> config)</code>
|
|
<div class="block">Opens a cursor for traversing keys in a key range.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../com/sleepycat/persist/EntityIndex.html" title="interface in com.sleepycat.persist">EntityIndex</a><<a href="../../../../com/sleepycat/persist/SecondaryIndex.html" title="type parameter in SecondaryIndex">SK</a>,<a href="../../../../com/sleepycat/persist/SecondaryIndex.html" title="type parameter in SecondaryIndex">PK</a>></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">SecondaryIndex.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/persist/SecondaryIndex.html#keysIndex--">keysIndex</a></span>()</code>
|
|
<div class="block">Returns a read-only keys index that maps secondary key to primary key.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../com/sleepycat/persist/EntityCursor.html" title="type parameter in EntityCursor">V</a></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">EntityCursor.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/persist/EntityCursor.html#last--">last</a></span>()</code>
|
|
<div class="block">Moves the cursor to the last value and returns it, or returns null if
|
|
the cursor range is empty.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../com/sleepycat/persist/EntityCursor.html" title="type parameter in EntityCursor">V</a></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">EntityCursor.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/persist/EntityCursor.html#last-com.sleepycat.je.LockMode-">last</a></span>(<a href="../../../../com/sleepycat/je/LockMode.html" title="enum in com.sleepycat.je">LockMode</a> lockMode)</code>
|
|
<div class="block">Moves the cursor to the last value and returns it, or returns null if
|
|
the cursor range is empty.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../com/sleepycat/persist/ForwardCursor.html" title="type parameter in ForwardCursor">V</a></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">ForwardCursor.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/persist/ForwardCursor.html#next--">next</a></span>()</code>
|
|
<div class="block">Moves the cursor to the next value and returns it, or returns null
|
|
if there are no more values in the cursor range.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../com/sleepycat/persist/EntityCursor.html" title="type parameter in EntityCursor">V</a></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">EntityCursor.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/persist/EntityCursor.html#next--">next</a></span>()</code>
|
|
<div class="block">Moves the cursor to the next value and returns it, or returns null
|
|
if there are no more values in the cursor range.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../com/sleepycat/persist/ForwardCursor.html" title="type parameter in ForwardCursor">V</a></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">ForwardCursor.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/persist/ForwardCursor.html#next-com.sleepycat.je.LockMode-">next</a></span>(<a href="../../../../com/sleepycat/je/LockMode.html" title="enum in com.sleepycat.je">LockMode</a> lockMode)</code>
|
|
<div class="block">Moves the cursor to the next value and returns it, or returns null
|
|
if there are no more values in the cursor range.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../com/sleepycat/persist/EntityCursor.html" title="type parameter in EntityCursor">V</a></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">EntityCursor.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/persist/EntityCursor.html#next-com.sleepycat.je.LockMode-">next</a></span>(<a href="../../../../com/sleepycat/je/LockMode.html" title="enum in com.sleepycat.je">LockMode</a> lockMode)</code>
|
|
<div class="block">Moves the cursor to the next value and returns it, or returns null
|
|
if there are no more values in the cursor range.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../com/sleepycat/persist/EntityCursor.html" title="type parameter in EntityCursor">V</a></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">EntityCursor.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/persist/EntityCursor.html#nextDup--">nextDup</a></span>()</code>
|
|
<div class="block">Moves the cursor to the next value with the same key (duplicate) and
|
|
returns it, or returns null if no more values are present for the key at
|
|
the current position.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../com/sleepycat/persist/EntityCursor.html" title="type parameter in EntityCursor">V</a></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">EntityCursor.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/persist/EntityCursor.html#nextDup-com.sleepycat.je.LockMode-">nextDup</a></span>(<a href="../../../../com/sleepycat/je/LockMode.html" title="enum in com.sleepycat.je">LockMode</a> lockMode)</code>
|
|
<div class="block">Moves the cursor to the next value with the same key (duplicate) and
|
|
returns it, or returns null if no more values are present for the key at
|
|
the current position.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../com/sleepycat/persist/EntityCursor.html" title="type parameter in EntityCursor">V</a></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">EntityCursor.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/persist/EntityCursor.html#nextNoDup--">nextNoDup</a></span>()</code>
|
|
<div class="block">Moves the cursor to the next value with a different key and returns it,
|
|
or returns null if there are no more unique keys in the cursor range.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../com/sleepycat/persist/EntityCursor.html" title="type parameter in EntityCursor">V</a></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">EntityCursor.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/persist/EntityCursor.html#nextNoDup-com.sleepycat.je.LockMode-">nextNoDup</a></span>(<a href="../../../../com/sleepycat/je/LockMode.html" title="enum in com.sleepycat.je">LockMode</a> lockMode)</code>
|
|
<div class="block">Moves the cursor to the next value with a different key and returns it,
|
|
or returns null if there are no more unique keys in the cursor range.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../com/sleepycat/persist/EntityCursor.html" title="type parameter in EntityCursor">V</a></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">EntityCursor.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/persist/EntityCursor.html#prev--">prev</a></span>()</code>
|
|
<div class="block">Moves the cursor to the previous value and returns it, or returns null
|
|
if there are no preceding values in the cursor range.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../com/sleepycat/persist/EntityCursor.html" title="type parameter in EntityCursor">V</a></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">EntityCursor.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/persist/EntityCursor.html#prev-com.sleepycat.je.LockMode-">prev</a></span>(<a href="../../../../com/sleepycat/je/LockMode.html" title="enum in com.sleepycat.je">LockMode</a> lockMode)</code>
|
|
<div class="block">Moves the cursor to the previous value and returns it, or returns null
|
|
if there are no preceding values in the cursor range.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../com/sleepycat/persist/EntityCursor.html" title="type parameter in EntityCursor">V</a></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">EntityCursor.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/persist/EntityCursor.html#prevDup--">prevDup</a></span>()</code>
|
|
<div class="block">Moves the cursor to the previous value with the same key (duplicate) and
|
|
returns it, or returns null if no preceding values are present for the
|
|
key at the current position.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../com/sleepycat/persist/EntityCursor.html" title="type parameter in EntityCursor">V</a></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">EntityCursor.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/persist/EntityCursor.html#prevDup-com.sleepycat.je.LockMode-">prevDup</a></span>(<a href="../../../../com/sleepycat/je/LockMode.html" title="enum in com.sleepycat.je">LockMode</a> lockMode)</code>
|
|
<div class="block">Moves the cursor to the previous value with the same key (duplicate) and
|
|
returns it, or returns null if no preceding values are present for the
|
|
key at the current position.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../com/sleepycat/persist/EntityCursor.html" title="type parameter in EntityCursor">V</a></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">EntityCursor.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/persist/EntityCursor.html#prevNoDup--">prevNoDup</a></span>()</code>
|
|
<div class="block">Moves the cursor to the preceding value with a different key and returns
|
|
it, or returns null if there are no preceding unique keys in the cursor
|
|
range.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../com/sleepycat/persist/EntityCursor.html" title="type parameter in EntityCursor">V</a></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">EntityCursor.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/persist/EntityCursor.html#prevNoDup-com.sleepycat.je.LockMode-">prevNoDup</a></span>(<a href="../../../../com/sleepycat/je/LockMode.html" title="enum in com.sleepycat.je">LockMode</a> lockMode)</code>
|
|
<div class="block">Moves the cursor to the preceding value with a different key and returns
|
|
it, or returns null if there are no preceding unique keys in the cursor
|
|
range.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../com/sleepycat/persist/PrimaryIndex.html" title="type parameter in PrimaryIndex">E</a></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">PrimaryIndex.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/persist/PrimaryIndex.html#put-E-">put</a></span>(<a href="../../../../com/sleepycat/persist/PrimaryIndex.html" title="type parameter in PrimaryIndex">E</a> entity)</code>
|
|
<div class="block">Inserts an entity and returns null, or updates it if the primary key
|
|
already exists and returns the existing entity.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../com/sleepycat/persist/PrimaryIndex.html" title="type parameter in PrimaryIndex">E</a></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">PrimaryIndex.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/persist/PrimaryIndex.html#put-com.sleepycat.je.Transaction-E-">put</a></span>(<a href="../../../../com/sleepycat/je/Transaction.html" title="class in com.sleepycat.je">Transaction</a> txn,
|
|
<a href="../../../../com/sleepycat/persist/PrimaryIndex.html" title="type parameter in PrimaryIndex">E</a> entity)</code>
|
|
<div class="block">Inserts an entity and returns null, or updates it if the primary key
|
|
already exists and returns the existing entity.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><span class="typeNameLabel">PrimaryIndex.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/persist/PrimaryIndex.html#putNoOverwrite-E-">putNoOverwrite</a></span>(<a href="../../../../com/sleepycat/persist/PrimaryIndex.html" title="type parameter in PrimaryIndex">E</a> entity)</code>
|
|
<div class="block">Inserts an entity and returns true, or returns false if the primary key
|
|
already exists.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><span class="typeNameLabel">PrimaryIndex.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/persist/PrimaryIndex.html#putNoOverwrite-com.sleepycat.je.Transaction-E-">putNoOverwrite</a></span>(<a href="../../../../com/sleepycat/je/Transaction.html" title="class in com.sleepycat.je">Transaction</a> txn,
|
|
<a href="../../../../com/sleepycat/persist/PrimaryIndex.html" title="type parameter in PrimaryIndex">E</a> entity)</code>
|
|
<div class="block">Inserts an entity and returns true, or returns false if the primary key
|
|
already exists.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><span class="typeNameLabel">PrimaryIndex.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/persist/PrimaryIndex.html#putNoReturn-E-">putNoReturn</a></span>(<a href="../../../../com/sleepycat/persist/PrimaryIndex.html" title="type parameter in PrimaryIndex">E</a> entity)</code>
|
|
<div class="block">Inserts an entity, or updates it if the primary key already exists (does
|
|
not return the existing entity).</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><span class="typeNameLabel">PrimaryIndex.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/persist/PrimaryIndex.html#putNoReturn-com.sleepycat.je.Transaction-E-">putNoReturn</a></span>(<a href="../../../../com/sleepycat/je/Transaction.html" title="class in com.sleepycat.je">Transaction</a> txn,
|
|
<a href="../../../../com/sleepycat/persist/PrimaryIndex.html" title="type parameter in PrimaryIndex">E</a> entity)</code>
|
|
<div class="block">Inserts an entity, or updates it if the primary key already exists (does
|
|
not return the existing entity).</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../com/sleepycat/persist/EntityIndex.html" title="interface in com.sleepycat.persist">EntityIndex</a><<a href="../../../../com/sleepycat/persist/SecondaryIndex.html" title="type parameter in SecondaryIndex">PK</a>,<a href="../../../../com/sleepycat/persist/SecondaryIndex.html" title="type parameter in SecondaryIndex">E</a>></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">SecondaryIndex.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/persist/SecondaryIndex.html#subIndex-SK-">subIndex</a></span>(<a href="../../../../com/sleepycat/persist/SecondaryIndex.html" title="type parameter in SecondaryIndex">SK</a> key)</code>
|
|
<div class="block">Returns an index that maps primary key to entity for the subset of
|
|
entities having a given secondary key (duplicates).</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><span class="typeNameLabel">EntityStore.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/persist/EntityStore.html#sync--">sync</a></span>()</code>
|
|
<div class="block">Flushes each modified index to disk that was opened in deferred-write
|
|
mode.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><span class="typeNameLabel">EntityStore.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/persist/EntityStore.html#truncateClass-java.lang.Class-">truncateClass</a></span>(java.lang.Class entityClass)</code>
|
|
<div class="block">Deletes all instances of this entity class and its (non-entity)
|
|
subclasses.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><span class="typeNameLabel">EntityStore.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/persist/EntityStore.html#truncateClass-com.sleepycat.je.Transaction-java.lang.Class-">truncateClass</a></span>(<a href="../../../../com/sleepycat/je/Transaction.html" title="class in com.sleepycat.je">Transaction</a> txn,
|
|
java.lang.Class entityClass)</code>
|
|
<div class="block">Deletes all instances of this entity class and its (non-entity)
|
|
subclasses.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<td class="colLast"><span class="typeNameLabel">EntityCursor.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/persist/EntityCursor.html#update-V-">update</a></span>(<a href="../../../../com/sleepycat/persist/EntityCursor.html" title="type parameter in EntityCursor">V</a> entity)</code>
|
|
<div class="block">Replaces the entity at the cursor position with the given entity.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../com/sleepycat/je/OperationResult.html" title="class in com.sleepycat.je">OperationResult</a></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">EntityCursor.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/persist/EntityCursor.html#update-V-com.sleepycat.je.WriteOptions-">update</a></span>(<a href="../../../../com/sleepycat/persist/EntityCursor.html" title="type parameter in EntityCursor">V</a> entity,
|
|
<a href="../../../../com/sleepycat/je/WriteOptions.html" title="class in com.sleepycat.je">WriteOptions</a> options)</code>
|
|
<div class="block">Replaces the entity at the cursor position with the given entity,
|
|
using a WriteOptions parameter and returning an OperationResult.</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing constructors, and an explanation">
|
|
<caption><span>Constructors in <a href="../../../../com/sleepycat/persist/package-summary.html">com.sleepycat.persist</a> that throw <a href="../../../../com/sleepycat/je/DatabaseException.html" title="class in com.sleepycat.je">DatabaseException</a></span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colOne" scope="col">Constructor and Description</th>
|
|
</tr>
|
|
<tbody>
|
|
<tr class="altColor">
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/sleepycat/persist/EntityStore.html#EntityStore-com.sleepycat.je.Environment-java.lang.String-com.sleepycat.persist.StoreConfig-">EntityStore</a></span>(<a href="../../../../com/sleepycat/je/Environment.html" title="class in com.sleepycat.je">Environment</a> env,
|
|
java.lang.String storeName,
|
|
<a href="../../../../com/sleepycat/persist/StoreConfig.html" title="class in com.sleepycat.persist">StoreConfig</a> config)</code>
|
|
<div class="block">Opens an entity store in a given environment.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/sleepycat/persist/PrimaryIndex.html#PrimaryIndex-com.sleepycat.je.Database-java.lang.Class-com.sleepycat.bind.EntryBinding-java.lang.Class-com.sleepycat.bind.EntityBinding-">PrimaryIndex</a></span>(<a href="../../../../com/sleepycat/je/Database.html" title="class in com.sleepycat.je">Database</a> database,
|
|
java.lang.Class<<a href="../../../../com/sleepycat/persist/PrimaryIndex.html" title="type parameter in PrimaryIndex">PK</a>> keyClass,
|
|
<a href="../../../../com/sleepycat/bind/EntryBinding.html" title="interface in com.sleepycat.bind">EntryBinding</a><<a href="../../../../com/sleepycat/persist/PrimaryIndex.html" title="type parameter in PrimaryIndex">PK</a>> keyBinding,
|
|
java.lang.Class<<a href="../../../../com/sleepycat/persist/PrimaryIndex.html" title="type parameter in PrimaryIndex">E</a>> entityClass,
|
|
<a href="../../../../com/sleepycat/bind/EntityBinding.html" title="interface in com.sleepycat.bind">EntityBinding</a><<a href="../../../../com/sleepycat/persist/PrimaryIndex.html" title="type parameter in PrimaryIndex">E</a>> entityBinding)</code>
|
|
<div class="block">Creates a primary index without using an <code>EntityStore</code>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/sleepycat/persist/SecondaryIndex.html#SecondaryIndex-com.sleepycat.je.SecondaryDatabase-com.sleepycat.je.Database-com.sleepycat.persist.PrimaryIndex-java.lang.Class-com.sleepycat.bind.EntryBinding-">SecondaryIndex</a></span>(<a href="../../../../com/sleepycat/je/SecondaryDatabase.html" title="class in com.sleepycat.je">SecondaryDatabase</a> database,
|
|
<a href="../../../../com/sleepycat/je/Database.html" title="class in com.sleepycat.je">Database</a> keysDatabase,
|
|
<a href="../../../../com/sleepycat/persist/PrimaryIndex.html" title="class in com.sleepycat.persist">PrimaryIndex</a><<a href="../../../../com/sleepycat/persist/SecondaryIndex.html" title="type parameter in SecondaryIndex">PK</a>,<a href="../../../../com/sleepycat/persist/SecondaryIndex.html" title="type parameter in SecondaryIndex">E</a>> primaryIndex,
|
|
java.lang.Class<<a href="../../../../com/sleepycat/persist/SecondaryIndex.html" title="type parameter in SecondaryIndex">SK</a>> secondaryKeyClass,
|
|
<a href="../../../../com/sleepycat/bind/EntryBinding.html" title="interface in com.sleepycat.bind">EntryBinding</a><<a href="../../../../com/sleepycat/persist/SecondaryIndex.html" title="type parameter in SecondaryIndex">SK</a>> secondaryKeyBinding)</code>
|
|
<div class="block">Creates a secondary index without using an <code>EntityStore</code>.</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</li>
|
|
<li class="blockList"><a name="com.sleepycat.persist.evolve">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Uses of <a href="../../../../com/sleepycat/je/DatabaseException.html" title="class in com.sleepycat.je">DatabaseException</a> in <a href="../../../../com/sleepycat/persist/evolve/package-summary.html">com.sleepycat.persist.evolve</a></h3>
|
|
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing subclasses, and an explanation">
|
|
<caption><span>Subclasses of <a href="../../../../com/sleepycat/je/DatabaseException.html" title="class in com.sleepycat.je">DatabaseException</a> in <a href="../../../../com/sleepycat/persist/evolve/package-summary.html">com.sleepycat.persist.evolve</a></span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Modifier and Type</th>
|
|
<th class="colLast" scope="col">Class and Description</th>
|
|
</tr>
|
|
<tbody>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>class </code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/sleepycat/persist/evolve/DeletedClassException.html" title="class in com.sleepycat.persist.evolve">DeletedClassException</a></span></code>
|
|
<div class="block">While reading from an index, an instance of a deleted class version was
|
|
encountered.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>class </code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/sleepycat/persist/evolve/IncompatibleClassException.html" title="class in com.sleepycat.persist.evolve">IncompatibleClassException</a></span></code>
|
|
<div class="block">A class has been changed incompatibly and no mutation has been configured to
|
|
handle the change or a new class version number has not been assigned.</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</li>
|
|
<li class="blockList"><a name="com.sleepycat.persist.raw">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Uses of <a href="../../../../com/sleepycat/je/DatabaseException.html" title="class in com.sleepycat.je">DatabaseException</a> in <a href="../../../../com/sleepycat/persist/raw/package-summary.html">com.sleepycat.persist.raw</a></h3>
|
|
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
|
|
<caption><span>Methods in <a href="../../../../com/sleepycat/persist/raw/package-summary.html">com.sleepycat.persist.raw</a> that throw <a href="../../../../com/sleepycat/je/DatabaseException.html" title="class in com.sleepycat.je">DatabaseException</a></span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Modifier and Type</th>
|
|
<th class="colLast" scope="col">Method and Description</th>
|
|
</tr>
|
|
<tbody>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><span class="typeNameLabel">RawStore.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/persist/raw/RawStore.html#close--">close</a></span>()</code>
|
|
<div class="block">Closes all databases and sequences that were opened by this model.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code><a href="../../../../com/sleepycat/persist/PrimaryIndex.html" title="class in com.sleepycat.persist">PrimaryIndex</a><java.lang.Object,<a href="../../../../com/sleepycat/persist/raw/RawObject.html" title="class in com.sleepycat.persist.raw">RawObject</a>></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">RawStore.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/persist/raw/RawStore.html#getPrimaryIndex-java.lang.String-">getPrimaryIndex</a></span>(java.lang.String entityClass)</code>
|
|
<div class="block">Opens the primary index for a given entity class.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code><a href="../../../../com/sleepycat/persist/SecondaryIndex.html" title="class in com.sleepycat.persist">SecondaryIndex</a><java.lang.Object,java.lang.Object,<a href="../../../../com/sleepycat/persist/raw/RawObject.html" title="class in com.sleepycat.persist.raw">RawObject</a>></code></td>
|
|
<td class="colLast"><span class="typeNameLabel">RawStore.</span><code><span class="memberNameLink"><a href="../../../../com/sleepycat/persist/raw/RawStore.html#getSecondaryIndex-java.lang.String-java.lang.String-">getSecondaryIndex</a></span>(java.lang.String entityClass,
|
|
java.lang.String keyName)</code>
|
|
<div class="block">Opens the secondary index for a given entity class and secondary key
|
|
name.</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing constructors, and an explanation">
|
|
<caption><span>Constructors in <a href="../../../../com/sleepycat/persist/raw/package-summary.html">com.sleepycat.persist.raw</a> that throw <a href="../../../../com/sleepycat/je/DatabaseException.html" title="class in com.sleepycat.je">DatabaseException</a></span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colOne" scope="col">Constructor and Description</th>
|
|
</tr>
|
|
<tbody>
|
|
<tr class="altColor">
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/sleepycat/persist/raw/RawStore.html#RawStore-com.sleepycat.je.Environment-java.lang.String-com.sleepycat.persist.StoreConfig-">RawStore</a></span>(<a href="../../../../com/sleepycat/je/Environment.html" title="class in com.sleepycat.je">Environment</a> env,
|
|
java.lang.String storeName,
|
|
<a href="../../../../com/sleepycat/persist/StoreConfig.html" title="class in com.sleepycat.persist">StoreConfig</a> config)</code>
|
|
<div class="block">Opens an entity store for raw data access.</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
|
<div class="bottomNav"><a name="navbar.bottom">
|
|
<!-- -->
|
|
</a>
|
|
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
|
<a name="navbar.bottom.firstrow">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="navList" title="Navigation">
|
|
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
|
<li><a href="../package-summary.html">Package</a></li>
|
|
<li><a href="../../../../com/sleepycat/je/DatabaseException.html" title="class in com.sleepycat.je">Class</a></li>
|
|
<li class="navBarCell1Rev">Use</li>
|
|
<li><a href="../package-tree.html">Tree</a></li>
|
|
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
|
<li><a href="../../../../index-all.html">Index</a></li>
|
|
<li><a href="../../../../help-doc.html">Help</a></li>
|
|
</ul>
|
|
<div class="aboutLanguage"><b>Berkeley DB Java Edition</b><br><font size=\"-1\"> version 7.5.11</font>
|
|
</div>
|
|
</div>
|
|
<div class="subNav">
|
|
<ul class="navList">
|
|
<li>Prev</li>
|
|
<li>Next</li>
|
|
</ul>
|
|
<ul class="navList">
|
|
<li><a href="../../../../index.html?com/sleepycat/je/class-use/DatabaseException.html" target="_top">Frames</a></li>
|
|
<li><a href="DatabaseException.html" target="_top">No Frames</a></li>
|
|
</ul>
|
|
<ul class="navList" id="allclasses_navbar_bottom">
|
|
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
|
|
</ul>
|
|
<div>
|
|
<script type="text/javascript"><!--
|
|
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
|
if(window==top) {
|
|
allClassesLink.style.display = "block";
|
|
}
|
|
else {
|
|
allClassesLink.style.display = "none";
|
|
}
|
|
//-->
|
|
</script>
|
|
</div>
|
|
<a name="skip.navbar.bottom">
|
|
<!-- -->
|
|
</a></div>
|
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
|
<p class="legalCopy"><small><font size=1>Copyright (c) 2002, 2017 Oracle and/or its affiliates. All rights reserved.</font> </small></p>
|
|
</body>
|
|
</html>
|