📄 eventhandler.java
字号:
/*- * See the file LICENSE for redistribution information. * * Copyright (c) 2000,2007 Oracle. All rights reserved. * * $Id: EventHandler.java,v 1.7 2007/07/05 12:26:17 alexg Exp $ */package com.sleepycat.db;/* * An interface class 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 for all of the event types. Or they could extend the * EventHandlerAdapter class, and implement only those events relevant to * their application. */public interface EventHandler { public void handlePanicEvent(); public void handleRepClientEvent(); public void handleRepElectedEvent(); public void handleRepMasterEvent(); public void handleRepNewMasterEvent(int envId); public void handleRepPermFailedEvent(); public void handleRepStartupDoneEvent(); public void handleWriteFailedEvent(int errorCode);}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -