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

📄 enginembean.java

📁 一个类似于openJMS分布在ObjectWeb之下的JMS消息中间件。
💻 JAVA
字号:
/* * Copyright (C) 2001 - 2003 ScalAgent Distributed Technologies * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or any later version. *  * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU * Lesser General Public License for more details. *  * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 * USA. */package fr.dyade.aaa.agent;public interface EngineMBean {  /**   * Returns this <code>Engine</code>'s name.   *   * @return this <code>Engine</code>'s name.   */  public String getName();  /**   * Returns the maximum number of agents loaded in memory.   *   * @return	the maximum number of agents loaded in memory   */  public int getNbMaxAgents();  /**   * Returns the number of agents actually loaded in memory.   *   * @return	the maximum number of agents actually loaded in memory   */  public int getNbAgents();  /**   * Tests if the engine is alive.   *   * @return	true if this <code>MessageConsumer</code> is alive; false   * 		otherwise.   */  public boolean isRunning();  /**   * Returns the number of agent's reaction since last boot.   *   * @return	the number of agent's reaction since last boot   */  public long getNbReactions();  /**   * Gets the number of messages posted to this engine since creation.   *   *  return	the number of messages.   */  public int getNbMessages();  /**   * Gets the number of waiting messages in this engine.   *   *  return	the number of waiting messages.   */  public int getNbWaitingMessages();  /**   * Returns the number of fixed agents.   *   * @return	the number of fixed agents   */  public int getNbFixedAgents();  /**   * Sets the maximum number of agents that can be loaded simultaneously   * in memory.   *   * @param NbMaxAgents	the maximum number of agents   */  public void setNbMaxAgents(int NbMaxAgents);  public String dumpAgent(String id) throws Exception;  /**   * Returns a string representation of this engine.    *   * @return	A string representation of this engine.   */  public String toString();  /** Causes this engine to begin execution */  public void start() throws Exception;  /** Forces the engine to stop executing */  public void stop();}

⌨️ 快捷键说明

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