⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 i_storageproblemlistener.java

📁 java开源的企业总线.xmlBlaster
💻 JAVA
字号:
/*------------------------------------------------------------------------------Name:      I_StorageProblemListener.javaProject:   xmlBlaster.orgCopyright: xmlBlaster.org, see xmlBlaster-LICENSE file------------------------------------------------------------------------------*/package org.xmlBlaster.util.queue;public interface I_StorageProblemListener{   public static final int UNDEF = -1;   public static final int UNAVAILABLE = 0;   public static final int AVAILABLE = 1;   /**    * Invoked by the I_StorageProblemNotifier when the storage becomes unavailable (for example on a DB    * when the jdbc connection is broken).    * @param oldStatus the status before the storage became unavailable.    */   public void storageUnavailable(int oldStatus);   /**    * Invoked by the I_StorageProblemNotifier when the storage becomes available again (for example on a DB    * when the jdbc connection is broken). Note that this method is invoked ONLY after the connection has    * become unavailable, it is NOT invoked the at startup, i.e. the first time the connection becomes    * available.    */   public void storageAvailable(int oldStatus);}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -