Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Berkeley DB version 4.8.24
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.sleepycat.db
Class EventHandlerAdapter

    java.lang.Object
      com.sleepycat.db.EventHandlerAdapter

All Implemented Interfaces:
  EventHandler

    public abstract class EventHandlerAdapter

extends Object
implements EventHandler

An abstract class that implements `EventHandler`, used to specify a callback function to be called when an event is sent from the Berkeley DB library.

See the `EventHandler` class documentation for information on event callback handler usage.

Constructor Summary
`EventHandlerAdapter()`

Method Summary
`void` | `handlePanicEvent()` See `EventHandler.handlePanicEvent` for details of this callback.
`void` | `handleRepClientEvent()` See `EventHandler.handleRepClientEvent` for details of this callback.
`void` | `handleRepElectedEvent()` See `EventHandler.handleRepElectedEvent` for details of this callback.
`void` | `handleRepMasterEvent()` See `EventHandler.handleRepMasterEvent` for details of this callback.
`void` | `handleRepNewMasterEvent(int envId)` See `EventHandler.handleRepNewMasterEvent` for details of this callback.
`void` | `handleRepPermFailedEvent()` See `EventHandler.handleRepPermFailedEvent` for details of this callback.
`void` | `handleRepStartupDoneEvent()` See `EventHandler.handleRepStartupDoneEvent` for details of this callback.
`void` | `handleWriteFailedEvent(int errorCode)` See `EventHandler.handleWriteFailedEvent` for details of this callback.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### EventHandlerAdapter

    public EventHandlerAdapter()

Method Detail

### handlePanicEvent

    public void handlePanicEvent()

  See `EventHandler.handlePanicEvent` for details of this callback.

  Specified by:
    `handlePanicEvent` in interface `EventHandler`

### handleRepClientEvent

    public void handleRepClientEvent()

  See `EventHandler.handleRepClientEvent` for details of this callback.

  Specified by:
    `handleRepClientEvent` in interface `EventHandler`

### handleRepElectedEvent

    public void handleRepElectedEvent()

  See `EventHandler.handleRepElectedEvent` for details of this callback.

  Specified by:
    `handleRepElectedEvent` in interface `EventHandler`

### handleRepMasterEvent

    public void handleRepMasterEvent()

  See `EventHandler.handleRepMasterEvent` for details of this callback.

  Specified by:
    `handleRepMasterEvent` in interface `EventHandler`

### handleRepNewMasterEvent

    public void handleRepNewMasterEvent(int envId)

  See `EventHandler.handleRepNewMasterEvent` for details of this callback.

  Specified by:
    `handleRepNewMasterEvent` in interface `EventHandler`
  Parameters:
    `envId` - The environment ID of the new master site.

### handleRepPermFailedEvent

    public void handleRepPermFailedEvent()

  See `EventHandler.handleRepPermFailedEvent` for details of this callback.

  Specified by:
    `handleRepPermFailedEvent` in interface `EventHandler`

### handleRepStartupDoneEvent

    public void handleRepStartupDoneEvent()

  See `EventHandler.handleRepStartupDoneEvent` for details of this callback.

  Specified by:
    `handleRepStartupDoneEvent` in interface `EventHandler`

### handleWriteFailedEvent

    public void handleWriteFailedEvent(int errorCode)

  See `EventHandler.handleWriteFailedEvent` for details of this callback.

  Specified by:
    `handleWriteFailedEvent` in interface `EventHandler`
  Parameters:
    `errorCode` - If an operating system specific error code is available for the failure it will be passed in the errorCode parameter.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Berkeley DB version 4.8.24
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright (c) 1996-2009 Oracle. All rights reserved.