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

📄 i_entryfilter.java

📁 java开源的企业总线.xmlBlaster
💻 JAVA
字号:
/*------------------------------------------------------------------------------Name:      I_EntryFilter.javaProject:   xmlBlaster.orgCopyright: xmlBlaster.org, see xmlBlaster-LICENSE file------------------------------------------------------------------------------*/package org.xmlBlaster.util.queue;/** * Callback when entries are accessed from storage.  */public interface I_EntryFilter{   /**    * Invoked by the I_Map or I_Queue implementation when entries are read from the store.     * Your implementation may not throw any exception, the behavior in such a case is undefined.    * Note: Expect to receive same entry twice if the underlying implementation is a    * CACHE. There the RAM and the JDBC store may independently deliver the same entry    * if the entry is persistent and currently in the cache.    * @param entry The current entry read, is never null    * @param storage the method isTransient() allows to check the source of the event (RAM or JDBC)    *         Is never null     * @return The entry to use, if null the given entry is filtered away.    *         It can be a new, manipulated entry as well    */   public I_Entry intercept(I_Entry entry, I_Storage storage);}

⌨️ 快捷键说明

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