flex.management.runtime.messaging.services.messaging
Class ThrottleManagerControl

java.lang.Object
  extended by flex.management.BaseControl
      extended by flex.management.runtime.messaging.services.messaging.ThrottleManagerControl
All Implemented Interfaces:
BaseControlMBean, ThrottleManagerControlMBean, MBeanRegistration

public class ThrottleManagerControl
extends BaseControl
implements ThrottleManagerControlMBean

The ThrottleManagerControl class is the MBean implementation for monitoring and managing a ThrottleManager at runtime.


Field Summary
 
Fields inherited from class flex.management.BaseControl
DOMAIN_PREFIX
 
Constructor Summary
ThrottleManagerControl(ThrottleManager throttleManager, BaseControl parent)
          Constructs a new ThrottleManagerControl instance, assigning its backing ThrottleManager.
 
Method Summary
 Integer getClientIncomingMessageThrottleCount()
          Returns the number of incoming client messages that have been throttled.
 Double getClientIncomingMessageThrottleFrequency()
          Returns the number of incoming client messages that have been throttled per minute.
 Integer getClientOutgoingMessageThrottleCount()
          Returns the number of outgoing client messages that have been throttled.
 Double getClientOutgoingMessageThrottleFrequency()
          Returns the number of outgoing client messages that have been throttled per minute.
 Integer getDestinationIncomingMessageThrottleCount()
          Returns the number of incoming destination messages that have been throttled.
 Double getDestinationIncomingMessageThrottleFrequency()
          Returns the number of incoming destination messages that have been throttled per minute.
 Integer getDestinationOutgoingMessageThrottleCount()
          Returns the number of outgoing destination messages that have been throttled.
 Double getDestinationOutgoingMessageThrottleFrequency()
          Returns the number of outgoing destination messages that have been throttled per minute.
 String getId()
          Returns the id for this MBean.
 Date getLastClientIncomingMessageThrottleTimestamp()
          Returns the timestamp when an incoming client message was most recently throttled.
 Date getLastClientOutgoingMessageThrottleTimestamp()
          Returns the timestamp when an outgoing client message was most recently throttled.
 Date getLastDestinationIncomingMessageThrottleTimestamp()
          Returns the timestamp when an incoming destination message was most recently throttled.
 Date getLastDestinationOutgoingMessageThrottleTimestamp()
          Returns the timestamp when an outgoing destination message was most recently throttled.
 String getType()
          Returns the type for this MBean.
 void incrementClientIncomingMessageThrottleCount()
          Increments the count of throttled incoming client messages.
 void incrementClientOutgoingMessageThrottleCount()
          Increments the count of throttled outgoing client messages.
 void incrementDestinationIncomingMessageThrottleCount()
          Increments the count of throttled incoming destination messages.
 void incrementDestinationOutgoingMessageThrottleCount()
          Increments the count of throttled outgoing destination messages.
 void resetClientIncomingMessageThrottleCount()
          Resets the number of throttled incoming client messages to 0.
 void resetClientOutgoingMessageThrottleCount()
          Resets the number of throttled outgoing client messages to 0.
 void resetDestinationIncomingMessageThrottleCount()
          Resets the number of throttled incoming destination messages to 0.
 void resetDestinationOutgoingMessageThrottleCount()
          Resets the number of throttled outgoing destination messages to 0.
 
Methods inherited from class flex.management.BaseControl
getApplicationId, getMBeanServer, getObjectName, getParent, getParentControl, getRegistrar, postDeregister, postRegister, preDeregister, preRegister, register, setStartTimestamp, unregister
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface flex.management.BaseControlMBean
getParent
 

Constructor Detail

ThrottleManagerControl

public ThrottleManagerControl(ThrottleManager throttleManager,
                              BaseControl parent)
Constructs a new ThrottleManagerControl instance, assigning its backing ThrottleManager.

Parameters:
throttleManager - The ThrottleManager managed by this MBean.
parent - The parent MBean in the management hierarchy.
Method Detail

getId

public String getId()
Description copied from interface: BaseControlMBean
Returns the id for this MBean. This is the value that is set for the id key in the ObjectName for this MBean.

Specified by:
getId in interface BaseControlMBean
Specified by:
getId in class BaseControl
Returns:
The MBean instance id.

getType

public String getType()
Description copied from interface: BaseControlMBean
Returns the type for this MBean. This is the value that is set for the type key in the ObjectName for this MBean.

Specified by:
getType in interface BaseControlMBean
Specified by:
getType in class BaseControl
Returns:
The MBean instance type.

getClientIncomingMessageThrottleCount

public Integer getClientIncomingMessageThrottleCount()
Description copied from interface: ThrottleManagerControlMBean
Returns the number of incoming client messages that have been throttled.

Specified by:
getClientIncomingMessageThrottleCount in interface ThrottleManagerControlMBean
Returns:
The number of incoming client messages that have been throttled.

incrementClientIncomingMessageThrottleCount

public void incrementClientIncomingMessageThrottleCount()
Increments the count of throttled incoming client messages.


resetClientIncomingMessageThrottleCount

public void resetClientIncomingMessageThrottleCount()
Description copied from interface: ThrottleManagerControlMBean
Resets the number of throttled incoming client messages to 0.

Specified by:
resetClientIncomingMessageThrottleCount in interface ThrottleManagerControlMBean

getLastClientIncomingMessageThrottleTimestamp

public Date getLastClientIncomingMessageThrottleTimestamp()
Description copied from interface: ThrottleManagerControlMBean
Returns the timestamp when an incoming client message was most recently throttled.

Specified by:
getLastClientIncomingMessageThrottleTimestamp in interface ThrottleManagerControlMBean
Returns:
The timestamp when an incoming client message was most recently throttled.

getClientIncomingMessageThrottleFrequency

public Double getClientIncomingMessageThrottleFrequency()
Description copied from interface: ThrottleManagerControlMBean
Returns the number of incoming client messages that have been throttled per minute.

Specified by:
getClientIncomingMessageThrottleFrequency in interface ThrottleManagerControlMBean
Returns:
The number of incoming client messages that have been throttled per minute.

getClientOutgoingMessageThrottleCount

public Integer getClientOutgoingMessageThrottleCount()
Description copied from interface: ThrottleManagerControlMBean
Returns the number of outgoing client messages that have been throttled.

Specified by:
getClientOutgoingMessageThrottleCount in interface ThrottleManagerControlMBean
Returns:
The number of outgoing client messages that have been throttled.

incrementClientOutgoingMessageThrottleCount

public void incrementClientOutgoingMessageThrottleCount()
Increments the count of throttled outgoing client messages.


resetClientOutgoingMessageThrottleCount

public void resetClientOutgoingMessageThrottleCount()
Description copied from interface: ThrottleManagerControlMBean
Resets the number of throttled outgoing client messages to 0.

Specified by:
resetClientOutgoingMessageThrottleCount in interface ThrottleManagerControlMBean

getLastClientOutgoingMessageThrottleTimestamp

public Date getLastClientOutgoingMessageThrottleTimestamp()
Description copied from interface: ThrottleManagerControlMBean
Returns the timestamp when an outgoing client message was most recently throttled.

Specified by:
getLastClientOutgoingMessageThrottleTimestamp in interface ThrottleManagerControlMBean
Returns:
The timestamp when an outgoing client message was most recently throttled.

getClientOutgoingMessageThrottleFrequency

public Double getClientOutgoingMessageThrottleFrequency()
Description copied from interface: ThrottleManagerControlMBean
Returns the number of outgoing client messages that have been throttled per minute.

Specified by:
getClientOutgoingMessageThrottleFrequency in interface ThrottleManagerControlMBean
Returns:
The number of outgoing client messages that have been throttled per minute.

getDestinationIncomingMessageThrottleCount

public Integer getDestinationIncomingMessageThrottleCount()
Description copied from interface: ThrottleManagerControlMBean
Returns the number of incoming destination messages that have been throttled.

Specified by:
getDestinationIncomingMessageThrottleCount in interface ThrottleManagerControlMBean
Returns:
The number of incoming destination messages that have been throttled.

incrementDestinationIncomingMessageThrottleCount

public void incrementDestinationIncomingMessageThrottleCount()
Increments the count of throttled incoming destination messages.


resetDestinationIncomingMessageThrottleCount

public void resetDestinationIncomingMessageThrottleCount()
Description copied from interface: ThrottleManagerControlMBean
Resets the number of throttled incoming destination messages to 0.

Specified by:
resetDestinationIncomingMessageThrottleCount in interface ThrottleManagerControlMBean

getLastDestinationIncomingMessageThrottleTimestamp

public Date getLastDestinationIncomingMessageThrottleTimestamp()
Description copied from interface: ThrottleManagerControlMBean
Returns the timestamp when an incoming destination message was most recently throttled.

Specified by:
getLastDestinationIncomingMessageThrottleTimestamp in interface ThrottleManagerControlMBean
Returns:
The timestamp when an incoming destination message was most recently throttled.

getDestinationIncomingMessageThrottleFrequency

public Double getDestinationIncomingMessageThrottleFrequency()
Description copied from interface: ThrottleManagerControlMBean
Returns the number of incoming destination messages that have been throttled per minute.

Specified by:
getDestinationIncomingMessageThrottleFrequency in interface ThrottleManagerControlMBean
Returns:
The number of incoming destination messages that have been throttled per minute.

getDestinationOutgoingMessageThrottleCount

public Integer getDestinationOutgoingMessageThrottleCount()
Description copied from interface: ThrottleManagerControlMBean
Returns the number of outgoing destination messages that have been throttled.

Specified by:
getDestinationOutgoingMessageThrottleCount in interface ThrottleManagerControlMBean
Returns:
The number of outgoing destination messages that have been throttled.

incrementDestinationOutgoingMessageThrottleCount

public void incrementDestinationOutgoingMessageThrottleCount()
Increments the count of throttled outgoing destination messages.


resetDestinationOutgoingMessageThrottleCount

public void resetDestinationOutgoingMessageThrottleCount()
Description copied from interface: ThrottleManagerControlMBean
Resets the number of throttled outgoing destination messages to 0.

Specified by:
resetDestinationOutgoingMessageThrottleCount in interface ThrottleManagerControlMBean

getLastDestinationOutgoingMessageThrottleTimestamp

public Date getLastDestinationOutgoingMessageThrottleTimestamp()
Description copied from interface: ThrottleManagerControlMBean
Returns the timestamp when an outgoing destination message was most recently throttled.

Specified by:
getLastDestinationOutgoingMessageThrottleTimestamp in interface ThrottleManagerControlMBean
Returns:
The timestamp when an outgoing destination message was most recently throttled.

getDestinationOutgoingMessageThrottleFrequency

public Double getDestinationOutgoingMessageThrottleFrequency()
Description copied from interface: ThrottleManagerControlMBean
Returns the number of outgoing destination messages that have been throttled per minute.

Specified by:
getDestinationOutgoingMessageThrottleFrequency in interface ThrottleManagerControlMBean
Returns:
The number of outgoing destination messages that have been throttled per minute.


Copyright © 2008 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/blazeds/1/javadoc/flex/management/runtime/messaging/services/messaging/ThrottleManagerControl.html