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

📄 consumablequeueworker.java

📁 java开源的企业总线.xmlBlaster
💻 JAVA
字号:
/*------------------------------------------------------------------------------Name:      ConsumableQueueWorker.javaProject:   xmlBlaster.orgCopyright: xmlBlaster.org, see xmlBlaster-LICENSE file------------------------------------------------------------------------------*/package org.xmlBlaster.engine.distributor.plugins;import java.util.logging.Logger;import java.util.logging.Level;/** * ConsumableQueueWorker processes the distribution of messages on  * topics which have a ConsumableQueue plugin defined. * This runs in its own thread, so when it is stared, the invoker  * thread can return without waiting for all messages to be processed. *  * @author <a href="mailto:michele@laghi.eu">Michele Laghi</a> */public class ConsumableQueueWorker implements Runnable {   private static Logger log;   private ConsumableQueuePlugin consumableQueuePlugin;   public ConsumableQueueWorker(Logger log_, ConsumableQueuePlugin consumableQueuePlugin) {      log = log_;      if (log.isLoggable(Level.FINER)) log.finer("constructor");      this.consumableQueuePlugin = consumableQueuePlugin;   }   public void run() {      if (log.isLoggable(Level.FINER)) log.finer("run");      this.consumableQueuePlugin.processHistoryQueue();   }}

⌨️ 快捷键说明

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