|
Berkeley DB XML version 2.4.13 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sleepycat.db.EventHandlerAdapter
public abstract class EventHandlerAdapter
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 |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EventHandlerAdapter()
| Method Detail |
|---|
public void handlePanicEvent()
EventHandler.handlePanicEvent for details of this callback.
handlePanicEvent in interface EventHandlerpublic void handleRepClientEvent()
EventHandler.handleRepClientEvent for details of this
callback.
handleRepClientEvent in interface EventHandlerpublic void handleRepElectedEvent()
EventHandler.handleRepElectedEvent for details of this
callback.
handleRepElectedEvent in interface EventHandlerpublic void handleRepMasterEvent()
EventHandler.handleRepMasterEvent for details of this
callback.
handleRepMasterEvent in interface EventHandlerpublic void handleRepNewMasterEvent(int envId)
EventHandler.handleRepNewMasterEvent for details of this
callback.
handleRepNewMasterEvent in interface EventHandlerenvId - The environment ID of the new master site.public void handleRepPermFailedEvent()
EventHandler.handleRepPermFailedEvent for details of this
callback.
handleRepPermFailedEvent in interface EventHandlerpublic void handleRepStartupDoneEvent()
EventHandler.handleRepStartupDoneEvent for details of this
callback.
handleRepStartupDoneEvent in interface EventHandlerpublic void handleWriteFailedEvent(int errorCode)
EventHandler.handleWriteFailedEvent for details of this
callback.
handleWriteFailedEvent in interface EventHandlererrorCode - If an operating system specific error code is available for the failure it
will be passed in the errorCode parameter.
|
Berkeley DB XML version 2.4.13 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||