From 780b92ada9afcf1d58085a83a0b9e6bc982203d1 Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Tue, 17 Feb 2015 17:25:57 +0000 Subject: Imported from /home/lorry/working-area/delta_berkeleydb/db-6.1.23.tar.gz. --- docs/java/com/sleepycat/db/EventHandler.html | 1197 +++++++++++++------------- 1 file changed, 577 insertions(+), 620 deletions(-) (limited to 'docs/java/com/sleepycat/db/EventHandler.html') diff --git a/docs/java/com/sleepycat/db/EventHandler.html b/docs/java/com/sleepycat/db/EventHandler.html index 1fce03c2..78243063 100644 --- a/docs/java/com/sleepycat/db/EventHandler.html +++ b/docs/java/com/sleepycat/db/EventHandler.html @@ -1,106 +1,100 @@ - - - - - -EventHandler (Oracle - Berkeley DB Java API) - - - - - - - - - - - - -
- - +//--> + + - - - - - - - - - - - - - - - - -
-Berkeley DB
version 5.3.21
-
- + + +
+ + +
+ + + - -
-

- -com.sleepycat.db -
-Interface EventHandler

-
-
All Known Implementing Classes:
EventHandlerAdapter
-
-
-
-
public interface EventHandler
- - -

-An interface classs with prototype definitions of all event functions that +

+
com.sleepycat.db
+

Interface EventHandler

+
+
+
+
    +
  • +
    +
    All Known Implementing Classes:
    +
    EventHandlerAdapter
    +
    +
    +
    +
    public interface EventHandler
    +
    An interface classs with prototype definitions of all event functions that can be called via the Berkeley DB event callback mechanism.

    A user can choose to implement the EventHandler class, and implement handlers @@ -108,618 +102,581 @@ 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.

    -The EnvironmentConfig.setEventHandler is used to provide +The EnvironmentConfig.setEventHandler is used to provide a mechanism for reporting event messages from the Berkeley DB library to the application.

    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. -

    - -

    -


    - -

    - +and the results are undefined.

    +
  • +
+
+
+
    +
  • - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    - voidhandlePanicEvent() - -
    -          A callback function to be called when a panic event is sent from the Berkeley DB library.
    - voidhandleRepClientEvent() - -
    -          A callback function to be called when a Replication Client event is sent - from the Berkeley DB library.
    - voidhandleRepConnectBrokenEvent() - -
    -          A callback function to be called when a Replication connect broken event - is sent from the Berkeley DB library.
    - voidhandleRepConnectEstablishedEvent() - -
    -          A callback function to be called when a Replication connect established - event is sent from the Berkeley DB library.
    - voidhandleRepConnectTryFailedEvent() - -
    -          A callback function to be called when a Replication connect retry failed - event is sent from the Berkeley DB library.
    - voidhandleRepDupmasterEvent() - -
    -          A callback function to be called when a Replication Client event is sent - from the Berkeley DB library.
    - voidhandleRepElectedEvent() - -
    -          A callback function to be called when an event is sent from the - Berkeley DB library.
    - voidhandleRepElectionFailedEvent() - -
    -          A callback function to be called when an event is sent from the - Berkeley DB library.
    - voidhandleRepInitDoneEvent() - -
    -          A callback function to be called when an event is sent from the - Berkeley DB library.
    - voidhandleRepJoinFailureEvent() - -
    -          A callback function to be called when an event is sent from the - Berkeley DB library.
    - voidhandleRepLocalSiteRemovedEvent() - -
    -          A callback function to be called when a local site removed event is sent - from the Berkeley DB library.
    - voidhandleRepMasterEvent() - -
    -          A callback function to be called when an event is sent from the - Berkeley DB library.
    - voidhandleRepMasterFailureEvent() - -
    -          A callback function to be called when an event is sent from the - Berkeley DB library.
    - voidhandleRepNewMasterEvent(int envId) - -
    -          A callback function to be called when an event is sent from the - Berkeley DB library.
    - voidhandleRepPermFailedEvent() - -
    -          A callback function to be called when an event is sent from the - Berkeley DB library.
    - voidhandleRepSiteAddedEvent() - -
    -          A callback function to be called when a site added event is sent from the - Berkeley DB library.
    - voidhandleRepSiteRemovedEvent() - -
    -          A callback function to be called when a site removed event is sent from the - Berkeley DB library.
    - voidhandleRepStartupDoneEvent() - -
    -          A callback function to be called when an event is sent from the - Berkeley DB library.
    - voidhandleWriteFailedEvent(int errorCode) - -
    -          A callback function to be called when an event is sent from the - Berkeley DB library.
    -  -

    - +

      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      voidhandlePanicEvent() +
      A callback function to be called when a panic event is sent from the Berkeley DB library.
      +
      voidhandleRepAutoTakeoverFailedEvent() +
      A callback function to be called when a Replication automatic takeover + failed event is sent from the Berkeley DB library.
      +
      voidhandleRepClientEvent() +
      A callback function to be called when a Replication Client event is sent + from the Berkeley DB library.
      +
      voidhandleRepConnectBrokenEvent() +
      A callback function to be called when a Replication connect broken event + is sent from the Berkeley DB library.
      +
      voidhandleRepConnectEstablishedEvent() +
      A callback function to be called when a Replication connect established + event is sent from the Berkeley DB library.
      +
      voidhandleRepConnectTryFailedEvent() +
      A callback function to be called when a Replication connect retry failed + event is sent from the Berkeley DB library.
      +
      voidhandleRepDupmasterEvent() +
      A callback function to be called when a Replication Client event is sent + from the Berkeley DB library.
      +
      voidhandleRepElectedEvent() +
      A callback function to be called when an event is sent from the + Berkeley DB library.
      +
      voidhandleRepElectionFailedEvent() +
      A callback function to be called when an event is sent from the + Berkeley DB library.
      +
      voidhandleRepInitDoneEvent() +
      A callback function to be called when an event is sent from the + Berkeley DB library.
      +
      voidhandleRepInQueueFullEvent() +
      A callback function to be called when an event is sent from the + Berkeley DB library.
      +
      voidhandleRepJoinFailureEvent() +
      A callback function to be called when an event is sent from the + Berkeley DB library.
      +
      voidhandleRepLocalSiteRemovedEvent() +
      A callback function to be called when a local site removed event is sent + from the Berkeley DB library.
      +
      voidhandleRepMasterEvent() +
      A callback function to be called when an event is sent from the + Berkeley DB library.
      +
      voidhandleRepMasterFailureEvent() +
      A callback function to be called when an event is sent from the + Berkeley DB library.
      +
      voidhandleRepNewMasterEvent(int envId) +
      A callback function to be called when an event is sent from the + Berkeley DB library.
      +
      voidhandleRepPermFailedEvent() +
      A callback function to be called when an event is sent from the + Berkeley DB library.
      +
      voidhandleRepSiteAddedEvent() +
      A callback function to be called when a site added event is sent from the + Berkeley DB library.
      +
      voidhandleRepSiteRemovedEvent() +
      A callback function to be called when a site removed event is sent from the + Berkeley DB library.
      +
      voidhandleRepStartupDoneEvent() +
      A callback function to be called when an event is sent from the + Berkeley DB library.
      +
      voidhandleWriteFailedEvent(int errorCode) +
      A callback function to be called when an event is sent from the + Berkeley DB library.
      +
      +
    • +
    +
  • +
+
+
+
    +
  • - - - - - - -
    -Method Detail
    - -

    -handlePanicEvent

    -
    -void handlePanicEvent()
    -
    -
    A callback function to be called when a panic event is sent from the Berkeley DB library. +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        handlePanicEvent

        +
        void handlePanicEvent()
        +
        A callback function to be called when a panic event is sent from the Berkeley DB library.

        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 - RunRecoveryException exceptions. It is often easier to simply exit + RunRecoveryException exceptions. It is often easier to simply exit the application when such errors occur, rather than gracefully return up the stack.

        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. -

        -

        -
        -
        -
    -
    - -

    -handleRepClientEvent

    -
    -void handleRepClientEvent()
    -
    -
    A callback function to be called when a Replication Client event is sent + and recovery should be run.
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ -
- - - - - - - - - - - - - - - - - - -
-Berkeley DB
version 5.3.21
-
- + + +
+ + +
+ + + - -
-Copyright (c) 1996, 2012 Oracle and/or its affiliates. All rights reserved. - - +

Copyright (c) 1996, 2015 Oracle and/or its affiliates. All rights reserved.

+ + -- cgit v1.2.1