i_storageproblemlistener.java

来自「java开源的企业总线.xmlBlaster」· Java 代码 · 共 30 行

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