Files
Yasuhiro KIMURA 9678929700 Update to 18.1.40
2020-07-24 01:10:28 +09:00

761 lines
30 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 (11.0.7) on Mon Jun 01 06:40:53 PDT 2020 -->
<title>EventHandler (Oracle - Berkeley DB Java API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="date" content="2020-06-01">
<link rel="stylesheet" type="text/css" href="../../../style.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
<script type="text/javascript" src="../../../jquery/jszip/dist/jszip.min.js"></script>
<script type="text/javascript" src="../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
<!--[if IE]>
<script type="text/javascript" src="../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="../../../jquery/jquery-3.4.1.js"></script>
<script type="text/javascript" src="../../../jquery/jquery-ui.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="EventHandler (Oracle - Berkeley DB Java API)";
}
}
catch(err) {
}
//-->
var data = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6,"i9":6,"i10":6,"i11":6,"i12":6,"i13":6,"i14":6,"i15":6,"i16":6,"i17":6,"i18":6,"i19":6,"i20":6,"i21":6};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
var pathtoroot = "../../../";
var useModuleDirectories = true;
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<div class="fixedNav">
<!-- ========= 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="../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/EventHandler.html">Use</a></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</b><br><font size="-1"> version 18.1.40</font></div>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<ul class="navListSearch">
<li><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" disabled="disabled">
<input type="reset" id="reset" value="reset" disabled="disabled">
</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>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
</div>
<div class="navPadding">&nbsp;</div>
<script type="text/javascript"><!--
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
//-->
</script>
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle"><span class="packageLabelInType">Package</span>&nbsp;<a href="package-summary.html">com.sleepycat.db</a></div>
<h2 title="Interface EventHandler" class="title">Interface EventHandler</h2>
</div>
<div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Known Implementing Classes:</dt>
<dd><code><a href="EventHandlerAdapter.html" title="class in com.sleepycat.db">EventHandlerAdapter</a></code></dd>
</dl>
<hr>
<pre>public interface <span class="typeNameLabel">EventHandler</span></pre>
<div class="block">An interface classs with prototype definitions of all event functions that
can be called via the Berkeley DB event callback mechanism.
<p>
A user can choose to implement the EventHandler class, and implement handlers
for all of the event types. Alternatively it is possible to extend the
EventHandlerAdapter class, and implement only those events relevant to the
specific application.
<p>
The <a href="EnvironmentConfig.html#setEventHandler-com.sleepycat.db.EventHandler-"><code>EnvironmentConfig.setEventHandler</code></a> is used to provide
a mechanism for reporting event messages from the Berkeley DB library
to the application.
<p>
Berkeley DB is not re-entrant. Callback functions should not attempt
to make library calls (for example, to release locks or close open
handles). Re-entering Berkeley DB is not guaranteed to work correctly,
and the results are undefined.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#handlePanicEvent--">handlePanicEvent</a></span>()</code></th>
<td class="colLast">
<div class="block">A callback function to be called when a panic event is sent from the Berkeley DB library.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#handleRepAutoTakeoverEvent--">handleRepAutoTakeoverEvent</a></span>()</code></th>
<td class="colLast">
<div class="block">A callback function to be called when a Replication automatic takeover
event is sent from the Berkeley DB library.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#handleRepAutoTakeoverFailedEvent--">handleRepAutoTakeoverFailedEvent</a></span>()</code></th>
<td class="colLast">
<div class="block">A callback function to be called when a Replication automatic takeover
failed event is sent from the Berkeley DB library.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#handleRepClientEvent--">handleRepClientEvent</a></span>()</code></th>
<td class="colLast">
<div class="block">A callback function to be called when a Replication Client event is sent
from the Berkeley DB library.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#handleRepConnectBrokenEvent--">handleRepConnectBrokenEvent</a></span>()</code></th>
<td class="colLast">
<div class="block">A callback function to be called when a Replication connect broken event
is sent from the Berkeley DB library.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#handleRepConnectEstablishedEvent--">handleRepConnectEstablishedEvent</a></span>()</code></th>
<td class="colLast">
<div class="block">A callback function to be called when a Replication connect established
event is sent from the Berkeley DB library.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#handleRepConnectTryFailedEvent--">handleRepConnectTryFailedEvent</a></span>()</code></th>
<td class="colLast">
<div class="block">A callback function to be called when a Replication connect retry failed
event is sent from the Berkeley DB library.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#handleRepDupmasterEvent--">handleRepDupmasterEvent</a></span>()</code></th>
<td class="colLast">
<div class="block">A callback function to be called when a Replication Client event is sent
from the Berkeley DB library.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#handleRepElectedEvent--">handleRepElectedEvent</a></span>()</code></th>
<td class="colLast">
<div class="block">A callback function to be called when an event is sent from the
Berkeley DB library.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#handleRepElectionFailedEvent--">handleRepElectionFailedEvent</a></span>()</code></th>
<td class="colLast">
<div class="block">A callback function to be called when an event is sent from the
Berkeley DB library.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#handleRepInitDoneEvent--">handleRepInitDoneEvent</a></span>()</code></th>
<td class="colLast">
<div class="block">A callback function to be called when an event is sent from the
Berkeley DB library.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#handleRepInQueueFullEvent--">handleRepInQueueFullEvent</a></span>()</code></th>
<td class="colLast">
<div class="block">A callback function to be called when an event is sent from the
Berkeley DB library.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#handleRepJoinFailureEvent--">handleRepJoinFailureEvent</a></span>()</code></th>
<td class="colLast">
<div class="block">A callback function to be called when an event is sent from the
Berkeley DB library.</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#handleRepLocalSiteRemovedEvent--">handleRepLocalSiteRemovedEvent</a></span>()</code></th>
<td class="colLast">
<div class="block">A callback function to be called when a local site removed event is sent
from the Berkeley DB library.</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#handleRepMasterEvent--">handleRepMasterEvent</a></span>()</code></th>
<td class="colLast">
<div class="block">A callback function to be called when an event is sent from the
Berkeley DB library.</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#handleRepMasterFailureEvent--">handleRepMasterFailureEvent</a></span>()</code></th>
<td class="colLast">
<div class="block">A callback function to be called when an event is sent from the
Berkeley DB library.</div>
</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#handleRepNewMasterEvent-int-">handleRepNewMasterEvent</a></span>&#8203;(int&nbsp;envId)</code></th>
<td class="colLast">
<div class="block">A callback function to be called when an event is sent from the
Berkeley DB library.</div>
</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#handleRepPermFailedEvent--">handleRepPermFailedEvent</a></span>()</code></th>
<td class="colLast">
<div class="block">A callback function to be called when an event is sent from the
Berkeley DB library.</div>
</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#handleRepSiteAddedEvent--">handleRepSiteAddedEvent</a></span>()</code></th>
<td class="colLast">
<div class="block">A callback function to be called when a site added event is sent from the
Berkeley DB library.</div>
</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#handleRepSiteRemovedEvent--">handleRepSiteRemovedEvent</a></span>()</code></th>
<td class="colLast">
<div class="block">A callback function to be called when a site removed event is sent from the
Berkeley DB library.</div>
</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#handleRepStartupDoneEvent--">handleRepStartupDoneEvent</a></span>()</code></th>
<td class="colLast">
<div class="block">A callback function to be called when an event is sent from the
Berkeley DB library.</div>
</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#handleWriteFailedEvent-int-">handleWriteFailedEvent</a></span>&#8203;(int&nbsp;errorCode)</code></th>
<td class="colLast">
<div class="block">A callback function to be called when an event is sent from the
Berkeley DB library.</div>
</td>
</tr>
</table>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="handlePanicEvent--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>handlePanicEvent</h4>
<pre class="methodSignature">void&nbsp;handlePanicEvent()</pre>
<div class="block">A callback function to be called when a panic event is sent from the Berkeley DB library.
<p> This event callback is received when an error occurs in the Berkeley DB
library where the only solution is to shut down the application and run
recovery. In such cases, the Berkeley DB methods will throw
<a href="RunRecoveryException.html" title="class in com.sleepycat.db"><code>RunRecoveryException</code></a> exceptions. It is often easier to simply exit
the application when such errors occur, rather than gracefully return up
the stack.
<p>
When this callback is received the database environment has failed. All
threads of control in the database environment should exit the environment
and recovery should be run.</div>
</li>
</ul>
<a name="handleRepAutoTakeoverEvent--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>handleRepAutoTakeoverEvent</h4>
<pre class="methodSignature">void&nbsp;handleRepAutoTakeoverEvent()</pre>
<div class="block">A callback function to be called when a Replication automatic takeover
event is sent from the Berkeley DB library.
<p>
This event callback is received in a replication manager subordinate
process when it succeeds to take over as the replication process.</div>
</li>
</ul>
<a name="handleRepAutoTakeoverFailedEvent--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>handleRepAutoTakeoverFailedEvent</h4>
<pre class="methodSignature">void&nbsp;handleRepAutoTakeoverFailedEvent()</pre>
<div class="block">A callback function to be called when a Replication automatic takeover
failed event is sent from the Berkeley DB library.
<p>
This event callback is received in a replication manager subordinate
process when it fails to take over as the replication process and
all replication manager threads in it are stopped unexpectedly.</div>
</li>
</ul>
<a name="handleRepClientEvent--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>handleRepClientEvent</h4>
<pre class="methodSignature">void&nbsp;handleRepClientEvent()</pre>
<div class="block">A callback function to be called when a Replication Client event is sent
from the Berkeley DB library.
<p>
This event callback is received when this member of a replication group is
now a client site.</div>
</li>
</ul>
<a name="handleRepConnectBrokenEvent--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>handleRepConnectBrokenEvent</h4>
<pre class="methodSignature">void&nbsp;handleRepConnectBrokenEvent()</pre>
<div class="block">A callback function to be called when a Replication connect broken event
is sent from the Berkeley DB library.
<p>
This event callback is received when a previously established connection
has been broken.</div>
</li>
</ul>
<a name="handleRepConnectEstablishedEvent--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>handleRepConnectEstablishedEvent</h4>
<pre class="methodSignature">void&nbsp;handleRepConnectEstablishedEvent()</pre>
<div class="block">A callback function to be called when a Replication connect established
event is sent from the Berkeley DB library.
<p>
This event callback is received when a connection with a remote site has
been established.</div>
</li>
</ul>
<a name="handleRepConnectTryFailedEvent--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>handleRepConnectTryFailedEvent</h4>
<pre class="methodSignature">void&nbsp;handleRepConnectTryFailedEvent()</pre>
<div class="block">A callback function to be called when a Replication connect retry failed
event is sent from the Berkeley DB library.
<p>
This event callback is received when an attempt to establish a new
connection to a known remote site failed.</div>
</li>
</ul>
<a name="handleRepDupmasterEvent--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>handleRepDupmasterEvent</h4>
<pre class="methodSignature">void&nbsp;handleRepDupmasterEvent()</pre>
<div class="block">A callback function to be called when a Replication Client event is sent
from the Berkeley DB library.
<p>
This event callback is received when a duplicate master site has been
discovered in the replication group.</div>
</li>
</ul>
<a name="handleRepElectedEvent--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>handleRepElectedEvent</h4>
<pre class="methodSignature">void&nbsp;handleRepElectedEvent()</pre>
<div class="block">A callback function to be called when an event is sent from the
Berkeley DB library.
<p>
This event callback is received when this site has just won an election. An
Application using the Base replication API should arrange for a call to
the <a href="Environment.html#startReplication-com.sleepycat.db.DatabaseEntry-boolean-"><code>Environment.startReplication</code></a> method after receiving this
event to, reconfigure the local environment as a replication master.
<p>
Replication Manager applications may safely igore this event. The
Replication Manager calls <a href="Environment.html#startReplication-com.sleepycat.db.DatabaseEntry-boolean-"><code>Environment.startReplication</code></a>
automatically on behalf of the application when appropriate (resulting in
firing of the <a href="#handleRepMasterEvent--"><code>EventHandler.handleRepMasterEvent</code></a> event).</div>
</li>
</ul>
<a name="handleRepElectionFailedEvent--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>handleRepElectionFailedEvent</h4>
<pre class="methodSignature">void&nbsp;handleRepElectionFailedEvent()</pre>
<div class="block">A callback function to be called when an event is sent from the
Berkeley DB library.
<p>
This event callback is received when the local site's attempt to initiate
or participate in a replication master election failed, due to the lack
of timely message response from a sufficient number of remote sites.</div>
</li>
</ul>
<a name="handleRepInitDoneEvent--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>handleRepInitDoneEvent</h4>
<pre class="methodSignature">void&nbsp;handleRepInitDoneEvent()</pre>
<div class="block">A callback function to be called when an event is sent from the
Berkeley DB library.
<p>
This event callback is received when internal initialization has been
completed.</div>
</li>
</ul>
<a name="handleRepInQueueFullEvent--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>handleRepInQueueFullEvent</h4>
<pre class="methodSignature">void&nbsp;handleRepInQueueFullEvent()</pre>
<div class="block">A callback function to be called when an event is sent from the
Berkeley DB library.
<p>
This event callback is received when replication Mananger incoming queue
has reached its maximum threshold.</div>
</li>
</ul>
<a name="handleRepJoinFailureEvent--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>handleRepJoinFailureEvent</h4>
<pre class="methodSignature">void&nbsp;handleRepJoinFailureEvent()</pre>
<div class="block">A callback function to be called when an event is sent from the
Berkeley DB library.
<p>
This event callback is received when the local site could not synchronize
with the master because an internal initialization was required, but
internal initialization has been turned off by the <a href="ReplicationConfig.html#AUTOINIT"><code>ReplicationConfig.AUTOINIT</code></a>
flag to <a href="Environment.html#setReplicationConfig-com.sleepycat.db.ReplicationConfig-boolean-"><code>Environment.setReplicationConfig</code></a></div>
</li>
</ul>
<a name="handleRepLocalSiteRemovedEvent--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>handleRepLocalSiteRemovedEvent</h4>
<pre class="methodSignature">void&nbsp;handleRepLocalSiteRemovedEvent()</pre>
<div class="block">A callback function to be called when a local site removed event is sent
from the Berkeley DB library.
<p>
This event callback is received when the local site has been removed from
the group.</div>
</li>
</ul>
<a name="handleRepMasterEvent--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>handleRepMasterEvent</h4>
<pre class="methodSignature">void&nbsp;handleRepMasterEvent()</pre>
<div class="block">A callback function to be called when an event is sent from the
Berkeley DB library.
<p>
This event callback is received when this site is now the master site of
its replication group. It is the application's responsibility to begin
acting as the master environment.</div>
</li>
</ul>
<a name="handleRepMasterFailureEvent--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>handleRepMasterFailureEvent</h4>
<pre class="methodSignature">void&nbsp;handleRepMasterFailureEvent()</pre>
<div class="block">A callback function to be called when an event is sent from the
Berkeley DB library.
<p>
This event callback is received when the connection to the remote master
replication site has failed.</div>
</li>
</ul>
<a name="handleRepNewMasterEvent-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>handleRepNewMasterEvent</h4>
<pre class="methodSignature">void&nbsp;handleRepNewMasterEvent&#8203;(int&nbsp;envId)</pre>
<div class="block">A callback function to be called when an event is sent from the
Berkeley DB library.
<p>
This event callback is received when the replication group of which this
site is a member has just established a new master; the local site is not
the new master.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>envId</code> - The environment ID of the new master site.</dd>
</dl>
</li>
</ul>
<a name="handleRepPermFailedEvent--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>handleRepPermFailedEvent</h4>
<pre class="methodSignature">void&nbsp;handleRepPermFailedEvent()</pre>
<div class="block">A callback function to be called when an event is sent from the
Berkeley DB library.
<p>
This event callback is received when the replication manager did not
receive enough acknowledgements (based on the acknowledgement policy
configured with <a href="EnvironmentConfig.html#setReplicationManagerAckPolicy-com.sleepycat.db.ReplicationManagerAckPolicy-"><code>EnvironmentConfig.setReplicationManagerAckPolicy</code></a>)
to ensure a transaction's durability within the replication group. The
transaction will be flushed to the master's local disk storage for
durability.</div>
</li>
</ul>
<a name="handleRepSiteAddedEvent--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>handleRepSiteAddedEvent</h4>
<pre class="methodSignature">void&nbsp;handleRepSiteAddedEvent()</pre>
<div class="block">A callback function to be called when a site added event is sent from the
Berkeley DB library.
<p>
This event callback is received when a new site has joined the group.</div>
</li>
</ul>
<a name="handleRepSiteRemovedEvent--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>handleRepSiteRemovedEvent</h4>
<pre class="methodSignature">void&nbsp;handleRepSiteRemovedEvent()</pre>
<div class="block">A callback function to be called when a site removed event is sent from the
Berkeley DB library.
<p>
This event callback is received when an existing remote site has been
removed from the group.</div>
</li>
</ul>
<a name="handleRepStartupDoneEvent--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>handleRepStartupDoneEvent</h4>
<pre class="methodSignature">void&nbsp;handleRepStartupDoneEvent()</pre>
<div class="block">A callback function to be called when an event is sent from the
Berkeley DB library.
<p>
This event callback is received when the client has completed startup
synchronization and is now processing live log records received from the
master.</div>
</li>
</ul>
<a name="handleWriteFailedEvent-int-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>handleWriteFailedEvent</h4>
<pre class="methodSignature">void&nbsp;handleWriteFailedEvent&#8203;(int&nbsp;errorCode)</pre>
<div class="block">A callback function to be called when an event is sent from the
Berkeley DB library.
<p>
This event callback is received when a Berkeley DB write to stable storage
failed.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>errorCode</code> - If an operating system specific error code is available for the failure it
will be passed in the errorCode parameter.</dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= 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="../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/EventHandler.html">Use</a></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</b><br><font size="-1"> version 18.1.40</font></div>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses.html">All&nbsp;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>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small><font size=1>Copyright (c) 1996, 2020 Oracle and/or its affiliates. All rights reserved.</font></small></p>
</body>
</html>