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

📄 ntransactionmbean.java

📁 一个类似于openJMS分布在ObjectWeb之下的JMS消息中间件。
💻 JAVA
字号:
/* * Copyright (C) 2005 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. * * Initial developer(s): ScalAgent Distributed Technologies * Contributor(s):  */package fr.dyade.aaa.util;public interface NTransactionMBean extends TransactionMBean {  /**   * Returns the initial capacity of global in memory log (by default 4096).   *   * @return The initial capacity of global in memory log.   */  int getLogMemoryCapacity();  /**   * Returns the maximum size of memory log in Kb, by default 2048Kb.   *   * @return The maximum size of memory log in Kb.   */  public int getMaxLogMemorySize();  /**   * Sets the maximum size of memory log in Kb.   *   * @param size The maximum size of memory log in Kb.   */  public void setMaxLogMemorySize(int size);  /**   * Returns the size of memory log in byte.   *   * @return The size of memory log in byte.   */  public int getLogMemorySize();  /**   * Returns the size of disk log in Mb, by default 16Mb.   *   * @return The size of disk log in Mb.   */  int getLogFileSize();  /**   * Sets the size of disk log in Mb.   *   * @param size The size of disk log in Mb.   */  void setLogFileSize(int size);  /**   * Returns the pool size for <code>operation</code> objects, by default 1000.   *   * @return The pool size for <code>operation</code> objects.   */  int getLogThresholdOperation();  /**   * Returns the number of commit operation since starting up.   *   * @return The number of commit operation.   */  public int getCommitCount();  /**   * Returns the number of garbage operation since starting up.   *   * @return The number of garbage operation.   */  public int getGarbageCount();  /**   * Returns the starting time.   *   * @return The starting time.   */  public long getStartTime();  /**   * Returns the cumulated time of garbage operations.   *   * @return The cumulated time of garbage operations.   */  public long getGarbageTime();  /**   * Returns the ratio of garbage operations since starting up.   *   * @return The ratio of garbage operations since starting up.   */  public int getGarbageRatio();  /**   *   */  public int getPhase();  public String getPhaseInfo();  public String getRepositoryImpl();  /**   * Returns the number of save operation to repository.   *   * @return The number of save operation to repository.   */  public int getNbSavedObjects();  /**   * Returns the number of delete operation on repository.   *   * @return The number of delete operation on repository.   */  public int getNbDeletedObjects();  /**   * Returns the number of useless delete operation on repository.   *   * @return The number of useless delete operation on repository.   */  public int getNbBadDeletedObjects();  /**   * Returns the number of load operation from repository.   *   * @return The number of load operation from repository.   */  public int getNbLoadedObjects();}

⌨️ 快捷键说明

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