<!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 (version 1.7.0_75) on Fri May 13 13:32:18 PDT 2016 --> <title>Uses of Class com.sleepycat.db.Environment (Oracle - Berkeley DB Java API)</title> <meta name="date" content="2016-05-13"> <link rel="stylesheet" type="text/css" href="../../../../style.css" title="Style"> </head> <body> <script type="text/javascript"><!-- if (location.href.indexOf('is-external=true') == -1) { parent.document.title="Uses of Class com.sleepycat.db.Environment (Oracle - Berkeley DB Java API)"; } //--> </script> <noscript> <div>JavaScript is disabled on your browser.</div> </noscript> <!-- ========= START OF TOP NAVBAR ======= --> <div class="topNav"><a name="navbar_top"> <!-- --> </a><a href="#skip-navbar_top" title="Skip navigation links"></a><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/db/Environment.html" title="class in com.sleepycat.db">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"><em><b>Berkeley DB</b><br><font size="-1"> version 6.1.29</font></em></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/db/class-use/Environment.html" target="_top">Frames</a></li> <li><a href="Environment.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.db.Environment" class="title">Uses of Class<br>com.sleepycat.db.Environment</h2> </div> <div class="classUseContainer"> <ul class="blockList"> <li class="blockList"> <table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation"> <caption><span>Packages that use <a href="../../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db">Environment</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.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="rowColor"> <td class="colFirst"><a href="#com.sleepycat.db">com.sleepycat.db</a></td> <td class="colLast"> <div class="block">Berkeley DB Java API<br> <a href="../../../../../programmer_reference/index.html" target="_top">[reference guide]</a> <a href="../../../../../programmer_reference/java_program.html" target="_top">[Java programming notes]</a>.</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.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.collections"> <!-- --> </a> <h3>Uses of <a href="../../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db">Environment</a> in <a href="../../../../com/sleepycat/collections/package-summary.html">com.sleepycat.collections</a></h3> <table 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 return <a href="../../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db">Environment</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/db/Environment.html" title="class in com.sleepycat.db">Environment</a></code></td> <td class="colLast"><span class="strong">CurrentTransaction.</span><code><strong><a href="../../../../com/sleepycat/collections/CurrentTransaction.html#getEnvironment()">getEnvironment</a></strong>()</code> <div class="block">Returns the underlying Berkeley DB environment.</div> </td> </tr> </tbody> </table> <table 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> with parameters of type <a href="../../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db">Environment</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>static <a href="../../../../com/sleepycat/collections/CurrentTransaction.html" title="class in com.sleepycat.collections">CurrentTransaction</a></code></td> <td class="colLast"><span class="strong">CurrentTransaction.</span><code><strong><a href="../../../../com/sleepycat/collections/CurrentTransaction.html#getInstance(com.sleepycat.db.Environment)">getInstance</a></strong>(<a href="../../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db">Environment</a> env)</code> <div class="block">Gets the CurrentTransaction accessor for a specified Berkeley DB environment.</div> </td> </tr> </tbody> </table> <table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing constructors, and an explanation"> <caption><span>Constructors in <a href="../../../../com/sleepycat/collections/package-summary.html">com.sleepycat.collections</a> with parameters of type <a href="../../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db">Environment</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><strong><a href="../../../../com/sleepycat/collections/TransactionRunner.html#TransactionRunner(com.sleepycat.db.Environment)">TransactionRunner</a></strong>(<a href="../../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db">Environment</a> env)</code> <div class="block">Creates a transaction runner for a given Berkeley DB environment.</div> </td> </tr> <tr class="rowColor"> <td class="colLast"><code><strong><a href="../../../../com/sleepycat/collections/TransactionRunner.html#TransactionRunner(com.sleepycat.db.Environment,%20int,%20com.sleepycat.db.TransactionConfig)">TransactionRunner</a></strong>(<a href="../../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db">Environment</a> env, int maxRetries, <a href="../../../../com/sleepycat/db/TransactionConfig.html" title="class in com.sleepycat.db">TransactionConfig</a> config)</code> <div class="block">Creates a transaction runner for a given Berkeley DB environment and with a given number of maximum retries.</div> </td> </tr> </tbody> </table> </li> <li class="blockList"><a name="com.sleepycat.db"> <!-- --> </a> <h3>Uses of <a href="../../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db">Environment</a> in <a href="../../../../com/sleepycat/db/package-summary.html">com.sleepycat.db</a></h3> <table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation"> <caption><span>Methods in <a href="../../../../com/sleepycat/db/package-summary.html">com.sleepycat.db</a> that return <a href="../../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db">Environment</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/db/Environment.html" title="class in com.sleepycat.db">Environment</a></code></td> <td class="colLast"><span class="strong">Database.</span><code><strong><a href="../../../../com/sleepycat/db/Database.html#getEnvironment()">getEnvironment</a></strong>()</code> <div class="block">Return the <a href="../../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><code>Environment</code></a> handle for the database environment underlying the <a href="../../../../com/sleepycat/db/Database.html" title="class in com.sleepycat.db"><code>Database</code></a>.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="../../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db">Environment</a></code></td> <td class="colLast"><span class="strong">DatabaseException.</span><code><strong><a href="../../../../com/sleepycat/db/DatabaseException.html#getEnvironment()">getEnvironment</a></strong>()</code> <div class="block">Return the environment in which the exception occurred.</div> </td> </tr> </tbody> </table> <table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation"> <caption><span>Methods in <a href="../../../../com/sleepycat/db/package-summary.html">com.sleepycat.db</a> with parameters of type <a href="../../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db">Environment</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="strong">ErrorHandler.</span><code><strong><a href="../../../../com/sleepycat/db/ErrorHandler.html#error(com.sleepycat.db.Environment,%20java.lang.String,%20java.lang.String)">error</a></strong>(<a href="../../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db">Environment</a> environment, java.lang.String errpfx, java.lang.String msg)</code> <div class="block">A callback function to be called when an error occurs in the Berkeley DB library.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>int</code></td> <td class="colLast"><span class="strong">LogRecordHandler.</span><code><strong><a href="../../../../com/sleepycat/db/LogRecordHandler.html#handleLogRecord(com.sleepycat.db.Environment,%20com.sleepycat.db.DatabaseEntry,%20com.sleepycat.db.LogSequenceNumber,%20com.sleepycat.db.RecoveryOperation)">handleLogRecord</a></strong>(<a href="../../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db">Environment</a> environment, <a href="../../../../com/sleepycat/db/DatabaseEntry.html" title="class in com.sleepycat.db">DatabaseEntry</a> logRecord, <a href="../../../../com/sleepycat/db/LogSequenceNumber.html" title="class in com.sleepycat.db">LogSequenceNumber</a> lsn, <a href="../../../../com/sleepycat/db/RecoveryOperation.html" title="class in com.sleepycat.db">RecoveryOperation</a> operation)</code> <div class="block">A function to process application-specific log records.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><span class="strong">MessageHandler.</span><code><strong><a href="../../../../com/sleepycat/db/MessageHandler.html#message(com.sleepycat.db.Environment,%20java.lang.String)">message</a></strong>(<a href="../../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db">Environment</a> environment, java.lang.String message)</code> <div class="block">A callback function to be called to display informational messages.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><span class="strong">PanicHandler.</span><code><strong><a href="../../../../com/sleepycat/db/PanicHandler.html#panic(com.sleepycat.db.Environment,%20com.sleepycat.db.DatabaseException)">panic</a></strong>(<a href="../../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db">Environment</a> environment, <a href="../../../../com/sleepycat/db/DatabaseException.html" title="class in com.sleepycat.db">DatabaseException</a> e)</code> <div class="block">A function to be called if the database environment panics.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>boolean</code></td> <td class="colLast"><span class="strong">ReplicationViewHandler.</span><code><strong><a href="../../../../com/sleepycat/db/ReplicationViewHandler.html#partial_view(com.sleepycat.db.Environment,%20java.lang.String,%20int)">partial_view</a></strong>(<a href="../../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db">Environment</a> dbenv, java.lang.String name, int flags)</code> <div class="block">The application-specific function used by replication views to determine whether a database file is replicated.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><span class="strong">FeedbackHandler.</span><code><strong><a href="../../../../com/sleepycat/db/FeedbackHandler.html#recoveryFeedback(com.sleepycat.db.Environment,%20int)">recoveryFeedback</a></strong>(<a href="../../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db">Environment</a> environment, int percent)</code> <div class="block">A function called with progress information when the database environment is being recovered.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>int</code></td> <td class="colLast"><span class="strong">ReplicationTransport.</span><code><strong><a href="../../../../com/sleepycat/db/ReplicationTransport.html#send(com.sleepycat.db.Environment,%20com.sleepycat.db.DatabaseEntry,%20com.sleepycat.db.DatabaseEntry,%20com.sleepycat.db.LogSequenceNumber,%20int,%20boolean,%20boolean,%20boolean,%20boolean)">send</a></strong>(<a href="../../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db">Environment</a> environment, <a href="../../../../com/sleepycat/db/DatabaseEntry.html" title="class in com.sleepycat.db">DatabaseEntry</a> control, <a href="../../../../com/sleepycat/db/DatabaseEntry.html" title="class in com.sleepycat.db">DatabaseEntry</a> rec, <a href="../../../../com/sleepycat/db/LogSequenceNumber.html" title="class in com.sleepycat.db">LogSequenceNumber</a> lsn, int envid, boolean noBuffer, boolean permanent, boolean anywhere, boolean isRetry)</code> <div class="block">The callback used when Berkeley DB needs to transmit a replication message.</div> </td> </tr> </tbody> </table> <table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing constructors, and an explanation"> <caption><span>Constructors in <a href="../../../../com/sleepycat/db/package-summary.html">com.sleepycat.db</a> with parameters of type <a href="../../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db">Environment</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><strong><a href="../../../../com/sleepycat/db/DatabaseException.html#DatabaseException(java.lang.String,%20int,%20com.sleepycat.db.Environment)">DatabaseException</a></strong>(java.lang.String s, int errno, <a href="../../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db">Environment</a> dbenv)</code> <div class="block">Construct an exception with the specified message and error number associated with a database environment handle.</div> </td> </tr> </tbody> </table> </li> <li class="blockList"><a name="com.sleepycat.persist"> <!-- --> </a> <h3>Uses of <a href="../../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db">Environment</a> in <a href="../../../../com/sleepycat/persist/package-summary.html">com.sleepycat.persist</a></h3> <table 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 return <a href="../../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db">Environment</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/db/Environment.html" title="class in com.sleepycat.db">Environment</a></code></td> <td class="colLast"><span class="strong">EntityStore.</span><code><strong><a href="../../../../com/sleepycat/persist/EntityStore.html#getEnvironment()">getEnvironment</a></strong>()</code> <div class="block">Returns the environment associated with this store.</div> </td> </tr> </tbody> </table> <table 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> with parameters of type <a href="../../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db">Environment</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><strong><a href="../../../../com/sleepycat/persist/EntityStore.html#EntityStore(com.sleepycat.db.Environment,%20java.lang.String,%20com.sleepycat.persist.StoreConfig)">EntityStore</a></strong>(<a href="../../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db">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> </tbody> </table> </li> <li class="blockList"><a name="com.sleepycat.persist.raw"> <!-- --> </a> <h3>Uses of <a href="../../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db">Environment</a> in <a href="../../../../com/sleepycat/persist/raw/package-summary.html">com.sleepycat.persist.raw</a></h3> <table 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 return <a href="../../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db">Environment</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/db/Environment.html" title="class in com.sleepycat.db">Environment</a></code></td> <td class="colLast"><span class="strong">RawStore.</span><code><strong><a href="../../../../com/sleepycat/persist/raw/RawStore.html#getEnvironment()">getEnvironment</a></strong>()</code> <div class="block">Returns the environment associated with this store.</div> </td> </tr> </tbody> </table> <table 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> with parameters of type <a href="../../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db">Environment</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><strong><a href="../../../../com/sleepycat/persist/raw/RawStore.html#RawStore(com.sleepycat.db.Environment,%20java.lang.String,%20com.sleepycat.persist.StoreConfig)">RawStore</a></strong>(<a href="../../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db">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><a href="#skip-navbar_bottom" title="Skip navigation links"></a><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/db/Environment.html" title="class in com.sleepycat.db">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"><em><b>Berkeley DB</b><br><font size="-1"> version 6.1.29</font></em></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/db/class-use/Environment.html" target="_top">Frames</a></li> <li><a href="Environment.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) 1996, 2016 Oracle and/or its affiliates. All rights reserved.</font></small></p> </body> </html>