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.
 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

getServiceMessageCount

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

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

resetServiceMessageCount

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

Throws:
IOException

getLastServiceMessageTimestamp

public 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

public 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

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

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

resetServiceCommandCount

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

Throws:
IOException

getLastServiceCommandTimestamp

public 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

public 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

public 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

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

Throws:
IOException

getLastServiceMessageFromAdapterTimestamp

public 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

public 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

public 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 © 2006 Adobe Systems Inc. All Rights Reserved. (Updated August 2, 2006)