|
Berkeley DB version 4.8.30 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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 |
---|
clone, equals, finalize, 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 EventHandler
public void handleRepClientEvent()
EventHandler.handleRepClientEvent
for details of this
callback.
handleRepClientEvent
in interface EventHandler
public void handleRepElectedEvent()
EventHandler.handleRepElectedEvent
for details of this
callback.
handleRepElectedEvent
in interface EventHandler
public void handleRepMasterEvent()
EventHandler.handleRepMasterEvent
for details of this
callback.
handleRepMasterEvent
in interface EventHandler
public void handleRepNewMasterEvent(int envId)
EventHandler.handleRepNewMasterEvent
for details of this
callback.
handleRepNewMasterEvent
in interface EventHandler
envId
- The environment ID of the new master site.public void handleRepPermFailedEvent()
EventHandler.handleRepPermFailedEvent
for details of this
callback.
handleRepPermFailedEvent
in interface EventHandler
public void handleRepStartupDoneEvent()
EventHandler.handleRepStartupDoneEvent
for details of this
callback.
handleRepStartupDoneEvent
in interface EventHandler
public void handleWriteFailedEvent(int errorCode)
EventHandler.handleWriteFailedEvent
for details of this
callback.
handleWriteFailedEvent
in interface EventHandler
errorCode
- If an operating system specific error code is available for the failure it
will be passed in the errorCode parameter.
|
Berkeley DB version 4.8.30 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |