|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectflex.management.BaseControl
flex.management.runtime.messaging.DestinationControl
flex.management.runtime.messaging.MessageDestinationControl
public class MessageDestinationControl
The MessageDestinationControl class is the MBean implementation for
monitoring and managing a MessageDestination at runtime.
| Field Summary |
|---|
| Fields inherited from class flex.management.BaseControl |
|---|
DOMAIN_PREFIX |
| Constructor Summary | |
|---|---|
MessageDestinationControl(Destination destination,
BaseControl parent)
Constructs a new MessageDestinationControl instance. |
|
| Method Summary | |
|---|---|
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. |
ObjectName |
getMessageCache()
Returns the ObjectName for the message cache used by the managed
destination. |
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. |
ObjectName |
getSubscriptionManager()
Returns the ObjectName for the subscription manager used
by the managed destination. |
ObjectName |
getThrottleManager()
Returns the ObjectName for the throttle manager used by the
managed destination. |
String |
getType()
Returns the type for this MBean. |
void |
incrementServiceCommandCount()
Increments the count of command messages serviced. |
void |
incrementServiceMessageCount()
Increments the count of messages serviced. |
void |
incrementServiceMessageFromAdapterCount()
Increments the count of messages from adapters processed. |
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. |
void |
setMessageCache(ObjectName value)
Sets the ObjectName for the message cache used by the managed destination. |
void |
setSubscriptionManager(ObjectName value)
Sets the ObjectName for the subscription manager used by the managed destination. |
void |
setThrottleManager(ObjectName value)
Sets the ObjectName for the throttle manager used by the managed destination. |
| Methods inherited from class flex.management.runtime.messaging.DestinationControl |
|---|
getAdapter, getId, getStartTimestamp, isRunning, preDeregister, setAdapter |
| Methods inherited from class flex.management.BaseControl |
|---|
getApplicationId, getMBeanServer, getObjectName, getParent, getParentControl, getRegistrar, postDeregister, postRegister, 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.runtime.messaging.DestinationControlMBean |
|---|
getAdapter, getStartTimestamp, isRunning |
| Methods inherited from interface flex.management.BaseControlMBean |
|---|
getId, getParent |
| Constructor Detail |
|---|
public MessageDestinationControl(Destination destination,
BaseControl parent)
MessageDestinationControl instance.
destination - The destination managed by this MBean.parent - The parent MBean in the management hierarchy.| Method Detail |
|---|
public String getType()
BaseControlMBeantype key in the ObjectName for this MBean.
getType in interface BaseControlMBeangetType in class BaseControlpublic ObjectName getMessageCache()
MessageDestinationControlMBeanObjectName for the message cache used by the managed
destination.
getMessageCache in interface MessageDestinationControlMBeanObjectName for the message cache.public void setMessageCache(ObjectName value)
ObjectName for the message cache used by the managed destination.
value - The ObjectName for the message cache.public ObjectName getThrottleManager()
MessageDestinationControlMBeanObjectName for the throttle manager used by the
managed destination.
getThrottleManager in interface MessageDestinationControlMBeanObjectName for the throttle manager.public void setThrottleManager(ObjectName value)
ObjectName for the throttle manager used by the managed destination.
value - The ObjectName for the throttle manager.public ObjectName getSubscriptionManager()
MessageDestinationControlMBeanObjectName for the subscription manager used
by the managed destination.
getSubscriptionManager in interface MessageDestinationControlMBeanObjectName for the subscription manager.public void setSubscriptionManager(ObjectName value)
ObjectName for the subscription manager used by the managed destination.
value - The ObjectName for the subscription manager.public Integer getServiceMessageCount()
MessageDestinationControlMBean
getServiceMessageCount in interface MessageDestinationControlMBeanpublic void resetServiceMessageCount()
MessageDestinationControlMBean
resetServiceMessageCount in interface MessageDestinationControlMBeanpublic void incrementServiceMessageCount()
public Date getLastServiceMessageTimestamp()
MessageDestinationControlMBean
getLastServiceMessageTimestamp in interface MessageDestinationControlMBeanpublic Double getServiceMessageFrequency()
MessageDestinationControlMBean
getServiceMessageFrequency in interface MessageDestinationControlMBeanpublic Integer getServiceCommandCount()
MessageDestinationControlMBean
getServiceCommandCount in interface MessageDestinationControlMBeanpublic void resetServiceCommandCount()
MessageDestinationControlMBean
resetServiceCommandCount in interface MessageDestinationControlMBeanpublic void incrementServiceCommandCount()
public Date getLastServiceCommandTimestamp()
MessageDestinationControlMBean
getLastServiceCommandTimestamp in interface MessageDestinationControlMBeanpublic Double getServiceCommandFrequency()
MessageDestinationControlMBean
getServiceCommandFrequency in interface MessageDestinationControlMBeanpublic Integer getServiceMessageFromAdapterCount()
MessageDestinationControlMBean
getServiceMessageFromAdapterCount in interface MessageDestinationControlMBeanpublic void resetServiceMessageFromAdapterCount()
MessageDestinationControlMBean
resetServiceMessageFromAdapterCount in interface MessageDestinationControlMBeanpublic void incrementServiceMessageFromAdapterCount()
public Date getLastServiceMessageFromAdapterTimestamp()
MessageDestinationControlMBean
getLastServiceMessageFromAdapterTimestamp in interface MessageDestinationControlMBeanpublic Double getServiceMessageFromAdapterFrequency()
MessageDestinationControlMBean
getServiceMessageFromAdapterFrequency in interface MessageDestinationControlMBean
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
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/MessageDestinationControl.html