eventhandler.java

来自「linux 下的源代码分析阅读器 red hat公司新版」· Java 代码 · 共 28 行

JAVA
28
字号
/*- * 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 + =
减小字号Ctrl + -
显示快捷键?