| Current File : //usr/share/doc/bdb/java/com/sleepycat/db/EventHandler.html |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_23) on Fri May 11 14:10:05 EDT 2012 -->
<TITLE>
EventHandler (Oracle - Berkeley DB Java API)
</TITLE>
<META NAME="date" CONTENT="2012-05-11">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../style.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTitle()
{
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="EventHandler (Oracle - Berkeley DB Java API)";
}
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>
</HEAD>
<BODY BGCOLOR="white" onload="windowTitle();">
<HR>
<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/EventHandler.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
<b>Berkeley DB</b><br><font size="-1"> version 5.3.21</font></EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../com/sleepycat/db/ErrorHandler.html" title="interface in com.sleepycat.db"><B>PREV CLASS</B></A>
<A HREF="../../../com/sleepycat/db/EventHandlerAdapter.html" title="class in com.sleepycat.db"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../index.html?com/sleepycat/db/EventHandler.html" target="_top"><B>FRAMES</B></A>
<A HREF="EventHandler.html" target="_top"><B>NO FRAMES</B></A>
<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
com.sleepycat.db</FONT>
<BR>
Interface EventHandler</H2>
<DL>
<DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../com/sleepycat/db/EventHandlerAdapter.html" title="class in com.sleepycat.db">EventHandlerAdapter</A></DD>
</DL>
<HR>
<DL>
<DT><PRE>public interface <B>EventHandler</B></DL>
</PRE>
<P>
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="../../../com/sleepycat/db/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.
<P>
<P>
<HR>
<P>
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/sleepycat/db/EventHandler.html#handlePanicEvent()">handlePanicEvent</A></B>()</CODE>
<BR>
A callback function to be called when a panic event is sent from the Berkeley DB library.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/sleepycat/db/EventHandler.html#handleRepClientEvent()">handleRepClientEvent</A></B>()</CODE>
<BR>
A callback function to be called when a Replication Client event is sent
from the Berkeley DB library.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/sleepycat/db/EventHandler.html#handleRepConnectBrokenEvent()">handleRepConnectBrokenEvent</A></B>()</CODE>
<BR>
A callback function to be called when a Replication connect broken event
is sent from the Berkeley DB library.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/sleepycat/db/EventHandler.html#handleRepConnectEstablishedEvent()">handleRepConnectEstablishedEvent</A></B>()</CODE>
<BR>
A callback function to be called when a Replication connect established
event is sent from the Berkeley DB library.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/sleepycat/db/EventHandler.html#handleRepConnectTryFailedEvent()">handleRepConnectTryFailedEvent</A></B>()</CODE>
<BR>
A callback function to be called when a Replication connect retry failed
event is sent from the Berkeley DB library.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/sleepycat/db/EventHandler.html#handleRepDupmasterEvent()">handleRepDupmasterEvent</A></B>()</CODE>
<BR>
A callback function to be called when a Replication Client event is sent
from the Berkeley DB library.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/sleepycat/db/EventHandler.html#handleRepElectedEvent()">handleRepElectedEvent</A></B>()</CODE>
<BR>
A callback function to be called when an event is sent from the
Berkeley DB library.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/sleepycat/db/EventHandler.html#handleRepElectionFailedEvent()">handleRepElectionFailedEvent</A></B>()</CODE>
<BR>
A callback function to be called when an event is sent from the
Berkeley DB library.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/sleepycat/db/EventHandler.html#handleRepInitDoneEvent()">handleRepInitDoneEvent</A></B>()</CODE>
<BR>
A callback function to be called when an event is sent from the
Berkeley DB library.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/sleepycat/db/EventHandler.html#handleRepJoinFailureEvent()">handleRepJoinFailureEvent</A></B>()</CODE>
<BR>
A callback function to be called when an event is sent from the
Berkeley DB library.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/sleepycat/db/EventHandler.html#handleRepLocalSiteRemovedEvent()">handleRepLocalSiteRemovedEvent</A></B>()</CODE>
<BR>
A callback function to be called when a local site removed event is sent
from the Berkeley DB library.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/sleepycat/db/EventHandler.html#handleRepMasterEvent()">handleRepMasterEvent</A></B>()</CODE>
<BR>
A callback function to be called when an event is sent from the
Berkeley DB library.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/sleepycat/db/EventHandler.html#handleRepMasterFailureEvent()">handleRepMasterFailureEvent</A></B>()</CODE>
<BR>
A callback function to be called when an event is sent from the
Berkeley DB library.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/sleepycat/db/EventHandler.html#handleRepNewMasterEvent(int)">handleRepNewMasterEvent</A></B>(int envId)</CODE>
<BR>
A callback function to be called when an event is sent from the
Berkeley DB library.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/sleepycat/db/EventHandler.html#handleRepPermFailedEvent()">handleRepPermFailedEvent</A></B>()</CODE>
<BR>
A callback function to be called when an event is sent from the
Berkeley DB library.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/sleepycat/db/EventHandler.html#handleRepSiteAddedEvent()">handleRepSiteAddedEvent</A></B>()</CODE>
<BR>
A callback function to be called when a site added event is sent from the
Berkeley DB library.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/sleepycat/db/EventHandler.html#handleRepSiteRemovedEvent()">handleRepSiteRemovedEvent</A></B>()</CODE>
<BR>
A callback function to be called when a site removed event is sent from the
Berkeley DB library.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/sleepycat/db/EventHandler.html#handleRepStartupDoneEvent()">handleRepStartupDoneEvent</A></B>()</CODE>
<BR>
A callback function to be called when an event is sent from the
Berkeley DB library.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/sleepycat/db/EventHandler.html#handleWriteFailedEvent(int)">handleWriteFailedEvent</A></B>(int errorCode)</CODE>
<BR>
A callback function to be called when an event is sent from the
Berkeley DB library.</TD>
</TR>
</TABLE>
<P>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="handlePanicEvent()"><!-- --></A><H3>
handlePanicEvent</H3>
<PRE>
void <B>handlePanicEvent</B>()</PRE>
<DL>
<DD>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="../../../com/sleepycat/db/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.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="handleRepClientEvent()"><!-- --></A><H3>
handleRepClientEvent</H3>
<PRE>
void <B>handleRepClientEvent</B>()</PRE>
<DL>
<DD>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.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="handleRepConnectBrokenEvent()"><!-- --></A><H3>
handleRepConnectBrokenEvent</H3>
<PRE>
void <B>handleRepConnectBrokenEvent</B>()</PRE>
<DL>
<DD>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.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="handleRepConnectEstablishedEvent()"><!-- --></A><H3>
handleRepConnectEstablishedEvent</H3>
<PRE>
void <B>handleRepConnectEstablishedEvent</B>()</PRE>
<DL>
<DD>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.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="handleRepConnectTryFailedEvent()"><!-- --></A><H3>
handleRepConnectTryFailedEvent</H3>
<PRE>
void <B>handleRepConnectTryFailedEvent</B>()</PRE>
<DL>
<DD>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.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="handleRepDupmasterEvent()"><!-- --></A><H3>
handleRepDupmasterEvent</H3>
<PRE>
void <B>handleRepDupmasterEvent</B>()</PRE>
<DL>
<DD>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.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="handleRepElectedEvent()"><!-- --></A><H3>
handleRepElectedEvent</H3>
<PRE>
void <B>handleRepElectedEvent</B>()</PRE>
<DL>
<DD>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="../../../com/sleepycat/db/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="../../../com/sleepycat/db/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="../../../com/sleepycat/db/EventHandler.html#handleRepMasterEvent()"><CODE>EventHandler.handleRepMasterEvent</CODE></A> event).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="handleRepElectionFailedEvent()"><!-- --></A><H3>
handleRepElectionFailedEvent</H3>
<PRE>
void <B>handleRepElectionFailedEvent</B>()</PRE>
<DL>
<DD>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.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="handleRepInitDoneEvent()"><!-- --></A><H3>
handleRepInitDoneEvent</H3>
<PRE>
void <B>handleRepInitDoneEvent</B>()</PRE>
<DL>
<DD>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.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="handleRepJoinFailureEvent()"><!-- --></A><H3>
handleRepJoinFailureEvent</H3>
<PRE>
void <B>handleRepJoinFailureEvent</B>()</PRE>
<DL>
<DD>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="../../../com/sleepycat/db/ReplicationConfig.html#AUTOINIT"><CODE>ReplicationConfig.AUTOINIT</CODE></A>
flag to <A HREF="../../../com/sleepycat/db/Environment.html#setReplicationConfig(com.sleepycat.db.ReplicationConfig, boolean)"><CODE>Environment.setReplicationConfig</CODE></A>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="handleRepLocalSiteRemovedEvent()"><!-- --></A><H3>
handleRepLocalSiteRemovedEvent</H3>
<PRE>
void <B>handleRepLocalSiteRemovedEvent</B>()</PRE>
<DL>
<DD>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.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="handleRepMasterEvent()"><!-- --></A><H3>
handleRepMasterEvent</H3>
<PRE>
void <B>handleRepMasterEvent</B>()</PRE>
<DL>
<DD>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.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="handleRepMasterFailureEvent()"><!-- --></A><H3>
handleRepMasterFailureEvent</H3>
<PRE>
void <B>handleRepMasterFailureEvent</B>()</PRE>
<DL>
<DD>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.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="handleRepNewMasterEvent(int)"><!-- --></A><H3>
handleRepNewMasterEvent</H3>
<PRE>
void <B>handleRepNewMasterEvent</B>(int envId)</PRE>
<DL>
<DD>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.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>envId</CODE> - The environment ID of the new master site.</DL>
</DD>
</DL>
<HR>
<A NAME="handleRepPermFailedEvent()"><!-- --></A><H3>
handleRepPermFailedEvent</H3>
<PRE>
void <B>handleRepPermFailedEvent</B>()</PRE>
<DL>
<DD>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="../../../com/sleepycat/db/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.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="handleRepSiteAddedEvent()"><!-- --></A><H3>
handleRepSiteAddedEvent</H3>
<PRE>
void <B>handleRepSiteAddedEvent</B>()</PRE>
<DL>
<DD>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.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="handleRepSiteRemovedEvent()"><!-- --></A><H3>
handleRepSiteRemovedEvent</H3>
<PRE>
void <B>handleRepSiteRemovedEvent</B>()</PRE>
<DL>
<DD>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.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="handleRepStartupDoneEvent()"><!-- --></A><H3>
handleRepStartupDoneEvent</H3>
<PRE>
void <B>handleRepStartupDoneEvent</B>()</PRE>
<DL>
<DD>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.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="handleWriteFailedEvent(int)"><!-- --></A><H3>
handleWriteFailedEvent</H3>
<PRE>
void <B>handleWriteFailedEvent</B>(int errorCode)</PRE>
<DL>
<DD>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.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>errorCode</CODE> - If an operating system specific error code is available for the failure it
will be passed in the errorCode parameter.</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/EventHandler.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
<b>Berkeley DB</b><br><font size="-1"> version 5.3.21</font></EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../com/sleepycat/db/ErrorHandler.html" title="interface in com.sleepycat.db"><B>PREV CLASS</B></A>
<A HREF="../../../com/sleepycat/db/EventHandlerAdapter.html" title="class in com.sleepycat.db"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../index.html?com/sleepycat/db/EventHandler.html" target="_top"><B>FRAMES</B></A>
<A HREF="EventHandler.html" target="_top"><B>NO FRAMES</B></A>
<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
<font size=1>Copyright (c) 1996, 2012 Oracle and/or its affiliates. All rights reserved.</font>
</BODY>
</HTML>