EventHandler
public abstract class EventHandlerAdapter extends java.lang.Object implements EventHandler
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 | Description |
---|---|
EventHandlerAdapter() |
public void handlePanicEvent()
EventHandler.handlePanicEvent
for details of this callback.handlePanicEvent
in interface EventHandler
public void handleRepAutoTakeoverEvent()
EventHandler.handleRepAutoTakeoverEvent
for details of this callback.handleRepAutoTakeoverEvent
in interface EventHandler
public void handleRepAutoTakeoverFailedEvent()
EventHandler.handleRepAutoTakeoverFailedEvent
for details of this
callback.handleRepAutoTakeoverFailedEvent
in interface EventHandler
public void handleRepClientEvent()
EventHandler.handleRepClientEvent
for details of this
callback.handleRepClientEvent
in interface EventHandler
public void handleRepConnectBrokenEvent()
EventHandler.handleRepConnectBrokenEvent
for details of this
callback.handleRepConnectBrokenEvent
in interface EventHandler
public void handleRepConnectEstablishedEvent()
EventHandler.handleRepConnectEstablishedEvent
for details of this
callback.handleRepConnectEstablishedEvent
in interface EventHandler
public void handleRepConnectTryFailedEvent()
EventHandler.handleRepConnectTryFailedEvent
for details of this
callback.handleRepConnectTryFailedEvent
in interface EventHandler
public void handleRepDupmasterEvent()
EventHandler.handleRepDupmasterEvent
for details of this
callback.handleRepDupmasterEvent
in interface EventHandler
public void handleRepElectedEvent()
EventHandler.handleRepElectedEvent
for details of this
callback.handleRepElectedEvent
in interface EventHandler
public void handleRepElectionFailedEvent()
EventHandler.handleRepElectionFailedEvent
for details of this
callback.handleRepElectionFailedEvent
in interface EventHandler
public void handleRepInitDoneEvent()
EventHandler.handleRepInitDoneEvent
for details of this
callback.handleRepInitDoneEvent
in interface EventHandler
public void handleRepInQueueFullEvent()
EventHandler.handleRepInQueueFullEvent
for details of this
callback.handleRepInQueueFullEvent
in interface EventHandler
public void handleRepJoinFailureEvent()
EventHandler.handleRepJoinFailureEvent
for details of this
callback.handleRepJoinFailureEvent
in interface EventHandler
public void handleRepLocalSiteRemovedEvent()
EventHandler.handleRepLocalSiteRemovedEvent
for details of this
callback.handleRepLocalSiteRemovedEvent
in interface EventHandler
public void handleRepMasterEvent()
EventHandler.handleRepMasterEvent
for details of this
callback.handleRepMasterEvent
in interface EventHandler
public void handleRepMasterFailureEvent()
EventHandler.handleRepMasterFailureEvent
for details of this
callback.handleRepMasterFailureEvent
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 handleRepSiteAddedEvent()
EventHandler.handleRepSiteAddedEvent
for details of this
callback.handleRepSiteAddedEvent
in interface EventHandler
public void handleRepSiteRemovedEvent()
EventHandler.handleRepSiteRemovedEvent
for details of this
callback.handleRepSiteRemovedEvent
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.Copyright (c) 1996, 2020 Oracle and/or its affiliates. All rights reserved.