mirror of
https://github.com/berkeleydb/je.git
synced 2024-11-15 01:46:24 +00:00
284 lines
15 KiB
HTML
284 lines
15 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:52 EDT 2017 -->
|
||
|
<title>Index (Oracle - Berkeley DB Java Edition Examples)</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="Index (Oracle - Berkeley DB Java Edition Examples)";
|
||
|
}
|
||
|
}
|
||
|
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="je/rep/quote/package-summary.html">Package</a></li>
|
||
|
<li>Class</li>
|
||
|
<li><a href="je/rep/quote/package-tree.html">Tree</a></li>
|
||
|
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||
|
<li class="navBarCell1Rev">Index</li>
|
||
|
<li><a href="help-doc.html">Help</a></li>
|
||
|
</ul>
|
||
|
<div class="aboutLanguage"><b>Berkeley DB Java Edition Examples</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?index-all.html" target="_top">Frames</a></li>
|
||
|
<li><a href="index-all.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="contentContainer"><a href="#I:D">D</a> <a href="#I:H">H</a> <a href="#I:J">J</a> <a href="#I:M">M</a> <a href="#I:O">O</a> <a href="#I:Q">Q</a> <a href="#I:R">R</a> <a href="#I:S">S</a> <a href="#I:U">U</a> <a href="#I:W">W</a> <a name="I:D">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<h2 class="title">D</h2>
|
||
|
<dl>
|
||
|
<dt><span class="memberNameLink"><a href="je/rep/quote/RunTransaction.html#doTransactionWork-com.sleepycat.je.Transaction-">doTransactionWork(Transaction)</a></span> - Method in class je.rep.quote.<a href="je/rep/quote/RunTransaction.html" title="class in je.rep.quote">RunTransaction</a></dt>
|
||
|
<dd>
|
||
|
<div class="block">Must be implemented to perform operations using the given Transaction.</div>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<a name="I:H">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<h2 class="title">H</h2>
|
||
|
<dl>
|
||
|
<dt><a href="je/rep/quote/HARouter.html" title="class in je.rep.quote"><span class="typeNameLink">HARouter</span></a> - Class in <a href="je/rep/quote/package-summary.html">je.rep.quote</a></dt>
|
||
|
<dd>
|
||
|
<div class="block">This example illustrates use of an HA aware Router used to forward high
|
||
|
level requests to replication nodes implemented by
|
||
|
<a href="je/rep/quote/RouterDrivenStockQuotes.html" title="class in je.rep.quote"><code>RouterDrivenStockQuotes</code></a>.</div>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<a name="I:J">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<h2 class="title">J</h2>
|
||
|
<dl>
|
||
|
<dt><a href="je/rep/quote/package-summary.html">je.rep.quote</a> - package je.rep.quote</dt>
|
||
|
<dd>
|
||
|
<div class="block">JE Replication Stock Quote example.</div>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<a name="I:M">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<h2 class="title">M</h2>
|
||
|
<dl>
|
||
|
<dt><span class="memberNameLink"><a href="je/rep/quote/HARouter.html#main-java.lang.String:A-">main(String[])</a></span> - Static method in class je.rep.quote.<a href="je/rep/quote/HARouter.html" title="class in je.rep.quote">HARouter</a></dt>
|
||
|
<dd> </dd>
|
||
|
<dt><span class="memberNameLink"><a href="je/rep/quote/RouterDrivenStockQuotes.html#main-java.lang.String:A-">main(String[])</a></span> - Static method in class je.rep.quote.<a href="je/rep/quote/RouterDrivenStockQuotes.html" title="class in je.rep.quote">RouterDrivenStockQuotes</a></dt>
|
||
|
<dd> </dd>
|
||
|
<dt><span class="memberNameLink"><a href="je/rep/quote/SimpleRouter.html#main-java.lang.String:A-">main(String[])</a></span> - Static method in class je.rep.quote.<a href="je/rep/quote/SimpleRouter.html" title="class in je.rep.quote">SimpleRouter</a></dt>
|
||
|
<dd> </dd>
|
||
|
<dt><span class="memberNameLink"><a href="je/rep/quote/StockQuotes.html#main-java.lang.String:A-">main(String[])</a></span> - Static method in class je.rep.quote.<a href="je/rep/quote/StockQuotes.html" title="class in je.rep.quote">StockQuotes</a></dt>
|
||
|
<dd> </dd>
|
||
|
<dt><span class="memberNameLink"><a href="je/rep/quote/StockQuotesRMIForwarding.html#main-java.lang.String:A-">main(String[])</a></span> - Static method in class je.rep.quote.<a href="je/rep/quote/StockQuotesRMIForwarding.html" title="class in je.rep.quote">StockQuotesRMIForwarding</a></dt>
|
||
|
<dd> </dd>
|
||
|
<dt><span class="memberNameLink"><a href="je/rep/quote/UpdateForwardingStockQuotes.html#main-java.lang.String:A-">main(String[])</a></span> - Static method in class je.rep.quote.<a href="je/rep/quote/UpdateForwardingStockQuotes.html" title="class in je.rep.quote">UpdateForwardingStockQuotes</a></dt>
|
||
|
<dd> </dd>
|
||
|
</dl>
|
||
|
<a name="I:O">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<h2 class="title">O</h2>
|
||
|
<dl>
|
||
|
<dt><span class="memberNameLink"><a href="je/rep/quote/RunTransaction.html#onReplicaWrite-com.sleepycat.je.rep.ReplicaWriteException-">onReplicaWrite(ReplicaWriteException)</a></span> - Method in class je.rep.quote.<a href="je/rep/quote/RunTransaction.html" title="class in je.rep.quote">RunTransaction</a></dt>
|
||
|
<dd>
|
||
|
<div class="block">May be optionally overridden to handle a ReplicaWriteException.</div>
|
||
|
</dd>
|
||
|
<dt><span class="memberNameLink"><a href="je/rep/quote/RunTransaction.html#onRetryFailure-com.sleepycat.je.OperationFailureException-">onRetryFailure(OperationFailureException)</a></span> - Method in class je.rep.quote.<a href="je/rep/quote/RunTransaction.html" title="class in je.rep.quote">RunTransaction</a></dt>
|
||
|
<dd>
|
||
|
<div class="block">May be optionally overridden to handle a failure after the
|
||
|
TRANSACTION_RETRY_MAX has been exceeded.</div>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<a name="I:Q">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<h2 class="title">Q</h2>
|
||
|
<dl>
|
||
|
<dt><span class="memberNameLink"><a href="je/rep/quote/StockQuotes.html#quit-java.io.PrintStream-">quit(PrintStream)</a></span> - Method in class je.rep.quote.<a href="je/rep/quote/StockQuotes.html" title="class in je.rep.quote">StockQuotes</a></dt>
|
||
|
<dd>
|
||
|
<div class="block">Implements the "quit" command.</div>
|
||
|
</dd>
|
||
|
<dt><span class="memberNameLink"><a href="je/rep/quote/StockQuotesRMIForwarding.html#quit-java.io.PrintStream-">quit(PrintStream)</a></span> - Method in class je.rep.quote.<a href="je/rep/quote/StockQuotesRMIForwarding.html" title="class in je.rep.quote">StockQuotesRMIForwarding</a></dt>
|
||
|
<dd>
|
||
|
<div class="block">Performs the RMI associated cleanup so that the RMI serve can be
|
||
|
shutdown cleanly.</div>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<a name="I:R">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<h2 class="title">R</h2>
|
||
|
<dl>
|
||
|
<dt><span class="memberNameLink"><a href="je/rep/quote/StockQuotesRMIForwarding.html#RMI_NAME">RMI_NAME</a></span> - Static variable in class je.rep.quote.<a href="je/rep/quote/StockQuotesRMIForwarding.html" title="class in je.rep.quote">StockQuotesRMIForwarding</a></dt>
|
||
|
<dd> </dd>
|
||
|
<dt><a href="je/rep/quote/RouterDrivenStockQuotes.html" title="class in je.rep.quote"><span class="typeNameLink">RouterDrivenStockQuotes</span></a> - Class in <a href="je/rep/quote/package-summary.html">je.rep.quote</a></dt>
|
||
|
<dd>
|
||
|
<div class="block">This class is based on <a href="je/rep/quote/StockQuotes.html" title="class in je.rep.quote"><code>StockQuotes</code></a> and illustrates use of an
|
||
|
HA-aware router (implemented by <a href="je/rep/quote/HARouter.html" title="class in je.rep.quote"><code>HARouter</code></a>), in conjunction with the
|
||
|
<a href="../java/com/sleepycat/je/rep/monitor/Monitor.html?is-external=true" title="class or interface in com.sleepycat.je.rep.monitor"><code>Monitor</code></a> class, to direct
|
||
|
application requests, based upon the type of request (read or write) and the
|
||
|
state (Master or Replica) of a node in the replication group.</div>
|
||
|
</dd>
|
||
|
<dt><span class="memberNameLink"><a href="je/rep/quote/RunTransaction.html#run-boolean-">run(boolean)</a></span> - Method in class je.rep.quote.<a href="je/rep/quote/RunTransaction.html" title="class in je.rep.quote">RunTransaction</a></dt>
|
||
|
<dd>
|
||
|
<div class="block">Runs a transaction, calls the doTransactionWork method, and retries as
|
||
|
needed.</div>
|
||
|
</dd>
|
||
|
<dt><a href="je/rep/quote/RunTransaction.html" title="class in je.rep.quote"><span class="typeNameLink">RunTransaction</span></a> - Class in <a href="je/rep/quote/package-summary.html">je.rep.quote</a></dt>
|
||
|
<dd>
|
||
|
<div class="block">Utility class to begin and commit/abort a transaction and handle exceptions
|
||
|
according to this application's policies.</div>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<a name="I:S">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<h2 class="title">S</h2>
|
||
|
<dl>
|
||
|
<dt><a href="je/rep/quote/SimpleRouter.html" title="class in je.rep.quote"><span class="typeNameLink">SimpleRouter</span></a> - Class in <a href="je/rep/quote/package-summary.html">je.rep.quote</a></dt>
|
||
|
<dd>
|
||
|
<div class="block">This example illustrates the use of a simple HA-unaware router that is used
|
||
|
in conjunction with <a href="je/rep/quote/UpdateForwardingStockQuotes.html" title="class in je.rep.quote"><code>UpdateForwardingStockQuotes</code></a>.</div>
|
||
|
</dd>
|
||
|
<dt><a href="je/rep/quote/StockQuotes.html" title="class in je.rep.quote"><span class="typeNameLink">StockQuotes</span></a> - Class in <a href="je/rep/quote/package-summary.html">je.rep.quote</a></dt>
|
||
|
<dd>
|
||
|
<div class="block">The most basic demonstration of a replicated application.</div>
|
||
|
</dd>
|
||
|
<dt><a href="je/rep/quote/StockQuotesRMIForwarding.html" title="class in je.rep.quote"><span class="typeNameLink">StockQuotesRMIForwarding</span></a> - Class in <a href="je/rep/quote/package-summary.html">je.rep.quote</a></dt>
|
||
|
<dd>
|
||
|
<div class="block">This example is a small variation on the basic <a href="je/rep/quote/StockQuotes.html" title="class in je.rep.quote"><code>StockQuotes</code></a> example.</div>
|
||
|
</dd>
|
||
|
<dt><a href="je/rep/quote/StockQuotesRMIForwarding.WriteServices.html" title="interface in je.rep.quote"><span class="typeNameLink">StockQuotesRMIForwarding.WriteServices</span></a> - Interface in <a href="je/rep/quote/package-summary.html">je.rep.quote</a></dt>
|
||
|
<dd> </dd>
|
||
|
<dt><a href="je/rep/quote/StockQuotesRMIForwarding.WriteServicesImpl.html" title="class in je.rep.quote"><span class="typeNameLink">StockQuotesRMIForwarding.WriteServicesImpl</span></a> - Class in <a href="je/rep/quote/package-summary.html">je.rep.quote</a></dt>
|
||
|
<dd>
|
||
|
<div class="block">The class supplies the RMI implementation of the write methods.</div>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<a name="I:U">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<h2 class="title">U</h2>
|
||
|
<dl>
|
||
|
<dt><span class="memberNameLink"><a href="je/rep/quote/StockQuotesRMIForwarding.WriteServices.html#update-je.rep.quote.Quote-">update(Quote)</a></span> - Method in interface je.rep.quote.<a href="je/rep/quote/StockQuotesRMIForwarding.WriteServices.html" title="interface in je.rep.quote">StockQuotesRMIForwarding.WriteServices</a></dt>
|
||
|
<dd>
|
||
|
<div class="block">The "write" operation which will update the price associated with
|
||
|
the Stock.</div>
|
||
|
</dd>
|
||
|
<dt><span class="memberNameLink"><a href="je/rep/quote/StockQuotesRMIForwarding.WriteServicesImpl.html#update-je.rep.quote.Quote-">update(Quote)</a></span> - Method in class je.rep.quote.<a href="je/rep/quote/StockQuotesRMIForwarding.WriteServicesImpl.html" title="class in je.rep.quote">StockQuotesRMIForwarding.WriteServicesImpl</a></dt>
|
||
|
<dd>
|
||
|
<div class="block">The update operation invoked by a Replica on this Master.</div>
|
||
|
</dd>
|
||
|
<dt><a href="je/rep/quote/UpdateForwardingStockQuotes.html" title="class in je.rep.quote"><span class="typeNameLink">UpdateForwardingStockQuotes</span></a> - Class in <a href="je/rep/quote/package-summary.html">je.rep.quote</a></dt>
|
||
|
<dd>
|
||
|
<div class="block">This class is based on <a href="je/rep/quote/RouterDrivenStockQuotes.html" title="class in je.rep.quote"><code>RouterDrivenStockQuotes</code></a> and illustrates use
|
||
|
of an HA unaware router (implemented by <a href="je/rep/quote/SimpleRouter.html" title="class in je.rep.quote"><code>SimpleRouter</code></a>), that load
|
||
|
balances requests (both read and write) across all the nodes in a
|
||
|
replication group.</div>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<a name="I:W">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<h2 class="title">W</h2>
|
||
|
<dl>
|
||
|
<dt><span class="memberNameLink"><a href="je/rep/quote/StockQuotesRMIForwarding.WriteServicesImpl.html#WriteServicesImpl-java.io.PrintStream-">WriteServicesImpl(PrintStream)</a></span> - Constructor for class je.rep.quote.<a href="je/rep/quote/StockQuotesRMIForwarding.WriteServicesImpl.html" title="class in je.rep.quote">StockQuotesRMIForwarding.WriteServicesImpl</a></dt>
|
||
|
<dd> </dd>
|
||
|
</dl>
|
||
|
<a href="#I:D">D</a> <a href="#I:H">H</a> <a href="#I:J">J</a> <a href="#I:M">M</a> <a href="#I:O">O</a> <a href="#I:Q">Q</a> <a href="#I:R">R</a> <a href="#I:S">S</a> <a href="#I:U">U</a> <a href="#I:W">W</a> </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="je/rep/quote/package-summary.html">Package</a></li>
|
||
|
<li>Class</li>
|
||
|
<li><a href="je/rep/quote/package-tree.html">Tree</a></li>
|
||
|
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||
|
<li class="navBarCell1Rev">Index</li>
|
||
|
<li><a href="help-doc.html">Help</a></li>
|
||
|
</ul>
|
||
|
<div class="aboutLanguage"><b>Berkeley DB Java Edition Examples</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?index-all.html" target="_top">Frames</a></li>
|
||
|
<li><a href="index-all.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>
|