flex.management.runtime.messaging.services
Interface ServiceControlMBean

All Superinterfaces:
BaseControlMBean
All Known Subinterfaces:
DataServiceControlMBean, HTTPProxyServiceControlMBean, MessageServiceControlMBean, RemotingServiceControlMBean

public interface ServiceControlMBean
extends BaseControlMBean

Defines the runtime monitoring and management interface for managed services.


Method Summary
 javax.management.ObjectName[] getDestinations()
          Returns the ObjectNames of all destinations registered with the managed service.
 Date getLastServiceCommandTimestamp()
          Returns the timestamp for the most recent service command invocation.
 Date getLastServiceMessageFromAdapterTimestamp()
          Returns the timestamp of the most recent service message from adapter invocation.
 Date getLastServiceMessageTimestamp()
          Returns the timestamp for the most recent service message invocation.
 Integer getServiceCommandCount()
          Returns the number of service command invocations.
 Double getServiceCommandFrequency()
          Returns the number of service command invocations per minute.
 Integer getServiceMessageCount()
          Returns the number of service message invocations.
 Double getServiceMessageFrequency()
          Returns the number of service message invocations per minute.
 Integer getServiceMessageFromAdapterCount()
          Returns the number of messages from an adapter that the managed service has processed.
 Double getServiceMessageFromAdapterFrequency()
          Returns the number of service message from adapter invocations per minute.
 Date getStartTimestamp()
          Returns the start timestamp for the Service.
 Boolean isRunning()
          Returns true if the Service is running.
 void resetServiceCommandCount()
          Resets the count of service command invocations.
 void resetServiceMessageCount()
          Resets the count of service message invocations.
 void resetServiceMessageFromAdapterCount()
          Resets the count of service message from adapter invocations.
 
Methods inherited from interface flex.management.BaseControlMBean
getId, getParent, getType
 

Method Detail

isRunning

Boolean isRunning()
                  throws IOException
Returns true if the Service is running.

Returns:
true if the Service is running.
Throws:
IOException

getStartTimestamp

Date getStartTimestamp()
                       throws IOException
Returns the start timestamp for the Service.

Returns:
The start timestamp for the Service.
Throws:
IOException

getServiceMessageCount

Integer getServiceMessageCount()
                               throws IOException
Returns the number of service message invocations.

Returns:
The number of service message invocations.
Throws:
IOException

resetServiceMessageCount

void resetServiceMessageCount()
                              throws IOException
Resets the count of service message invocations.

Throws:
IOException

getLastServiceMessageTimestamp

Date getLastServiceMessageTimestamp()
                                    throws IOException
Returns the timestamp for the most recent service message invocation.

Returns:
The timestamp for the most recent service message invocation.
Throws:
IOException

getServiceMessageFrequency

Double getServiceMessageFrequency()
                                  throws IOException
Returns the number of service message invocations per minute.

Returns:
The number of service message invocations per minute.
Throws:
IOException

getServiceCommandCount

Integer getServiceCommandCount()
                               throws IOException
Returns the number of service command invocations.

Returns:
The number of service command invocations.
Throws:
IOException

resetServiceCommandCount

void resetServiceCommandCount()
                              throws IOException
Resets the count of service command invocations.

Throws:
IOException

getLastServiceCommandTimestamp

Date getLastServiceCommandTimestamp()
                                    throws IOException
Returns the timestamp for the most recent service command invocation.

Returns:
The timestamp for the most recent service command invocation.
Throws:
IOException

getServiceCommandFrequency

Double getServiceCommandFrequency()
                                  throws IOException
Returns the number of service command invocations per minute.

Returns:
The number of service command invocations per minute.
Throws:
IOException

getServiceMessageFromAdapterCount

Integer getServiceMessageFromAdapterCount()
                                          throws IOException
Returns the number of messages from an adapter that the managed service has processed.

Returns:
The number of messages from an adapter that the managed service has processed
Throws:
IOException

resetServiceMessageFromAdapterCount

void resetServiceMessageFromAdapterCount()
                                         throws IOException
Resets the count of service message from adapter invocations.

Throws:
IOException

getLastServiceMessageFromAdapterTimestamp

Date getLastServiceMessageFromAdapterTimestamp()
                                               throws IOException
Returns the timestamp of the most recent service message from adapter invocation.

Returns:
The timestamp of the most recent service message from adapter invocation.
Throws:
IOException

getServiceMessageFromAdapterFrequency

Double getServiceMessageFromAdapterFrequency()
                                             throws IOException
Returns the number of service message from adapter invocations per minute.

Returns:
The number of service message from adapter invocations per minute.
Throws:
IOException

getDestinations

javax.management.ObjectName[] getDestinations()
                                              throws IOException
Returns the ObjectNames of all destinations registered with the managed service.

Returns:
The ObjectNames of all destinations registered with the managed service.
Throws:
IOException


Copyright © 2007 Adobe Systems Inc. All Rights Reserved.

 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/livecycle/es/sdkHelp/programmer/lcdsjavadoc/flex/management/runtime/messaging/services/ServiceControlMBean.html