serviceservicembean.java
来自「提供ESB 应用mule源代码 提供ESB 应用mule源代码」· Java 代码 · 共 81 行
JAVA
81 行
/* * $Id: ServiceServiceMBean.java 11249 2008-03-07 14:59:58Z tcarlson $ * -------------------------------------------------------------------------------------- * Copyright (c) MuleSource, Inc. All rights reserved. http://www.mulesource.com * * The software in this package is published under the terms of the CPAL v1.0 * license, a copy of which has been included with this distribution in the * LICENSE.txt file. */package org.mule.module.management.mbean;import org.mule.api.MuleException;import org.mule.api.lifecycle.Startable;import org.mule.api.lifecycle.Stoppable;import javax.management.ObjectName;/** * <code>ServiceServiceMBean</code> defines the management interface for a mule * managed service. */public interface ServiceServiceMBean extends Stoppable, Startable, ServiceStatsMBean{ /** * The statistics for this service * * @return statistics for this service * @see ServiceStats */ ObjectName getStatistics(); /** * The name of this service * * @return The name of this service */ String getName(); /** * The number of queued events for this service * * @return The number of queued events for this service */ int getQueueSize(); /** * Pauses event processing for theComponent. Unlike stop(), a paused service * will still consume messages from the underlying transport, but those messages * will be queued until the service is resumed. In order to persist these * queued messages you can set the 'recoverableMode' property on the * Muleconfiguration to true. this causes all internal queues to store their * state. * * @throws MuleException if the service failed to pause. * @see org.mule.config.MuleConfiguration */ void pause() throws MuleException; /** * Resumes the Service that has been paused. If the service is not paused * nothing is executed. * * @throws MuleException if the service failed to resume */ void resume() throws MuleException; boolean isPaused(); boolean isStopped(); void dispose() throws MuleException; /** * Causes the service to stop without processing its event queue first */ void forceStop() throws MuleException; boolean isStopping();}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?