|
||||||||||
| 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.MessageBrokerControl
public class MessageBrokerControl
The MessageBrokerControl class is the MBean implemenation for monitoring
and managing a MessageBroker at runtime.
| Field Summary |
|---|
| Fields inherited from class flex.management.BaseControl |
|---|
DOMAIN_PREFIX |
| Constructor Summary | |
|---|---|
MessageBrokerControl(MessageBroker broker)
Constructs a new MessageBrokerControl instance, assigning its
backing MessageBroker. |
|
| Method Summary | |
|---|---|
void |
addEndpoint(Endpoint value)
Adds an Endpoint for an endpoint registered with the backing MessageBroker. |
void |
addService(ObjectName value)
Adds an ObjectName for a service registered with the backing MessageBroker. |
Long |
getAMFThroughput()
Returns the total number of bytes passing through all AMF endpoints. |
ObjectName[] |
getEndpoints()
Returns the ObjectNames for endpoints that are registered with the
managed MessageBroker. |
Integer |
getEnterpriseConnectionCount()
Returns the number of Enterprise Connections across all Enterprise Endpoints. |
Long |
getEnterpriseThroughput()
Returns the total number of bytes passing through all Enterprise endpoints. |
Integer |
getFlexSessionCount()
Returns Flex session count for the MessageBroker. |
Long |
getHTTPThroughput()
Returns the total number of bytes passing through all HTTP endpoints. |
String |
getId()
Returns the id for this MBean. |
Integer |
getMaxFlexSessionsInCurrentHour()
Returns the maximum concurrent Flex session count for the MessageBroker in the current hour. |
ObjectName[] |
getServices()
Returns the ObjectNames for services that are registered with the
managed MessageBroker. |
Date |
getStartTimestamp()
Returns the start timestamp for the MessageBroker. |
Long |
getStreamingAMFThroughput()
Returns the total number of bytes passing through all streaming AMF endpoints. |
Long |
getStreamingHTTPThroughput()
Returns the total number of bytes passing through all streaming HTTP endpoints. |
String |
getType()
Returns the type for this MBean. |
Boolean |
isRunning()
Returns true if the MessageBroker is running. |
void |
removeEndpoint(ObjectName value)
Removes an ObjectName for an endpoint registered with the backing MessageBroker. |
void |
removeService(ObjectName value)
Removes an ObjectName for a service registered with the backing MessageBroker. |
void |
setFlexSessionCount(int connectionCount)
Sets the flex session count for the managed MessageBroker. |
void |
setMaxFlexSessionsInCurrentHour(int currentConnectionCountMax)
|
| 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 |
|---|
public MessageBrokerControl(MessageBroker broker)
MessageBrokerControl instance, assigning its
backing MessageBroker.
broker - The MessageBroker managed by this MBean.| Method Detail |
|---|
public String getId()
BaseControlMBeanid key in the ObjectName for this MBean.
getId in interface BaseControlMBeangetId in class BaseControlpublic String getType()
BaseControlMBeantype key in the ObjectName for this MBean.
getType in interface BaseControlMBeangetType in class BaseControlpublic Boolean isRunning()
MessageBrokerControlMBeantrue if the MessageBroker is running.
isRunning in interface MessageBrokerControlMBeantrue if the MessageBroker is running.public Date getStartTimestamp()
MessageBrokerControlMBeanMessageBroker.
getStartTimestamp in interface MessageBrokerControlMBeanMessageBroker.
public ObjectName[] getEndpoints()
throws IOException
MessageBrokerControlMBeanObjectNames for endpoints that are registered with the
managed MessageBroker.
getEndpoints in interface MessageBrokerControlMBeanObjectNames for endpoints registered with the managed MessageBroker.
IOException - Throws IOException.public void addEndpoint(Endpoint value)
Endpoint for an endpoint registered with the backing MessageBroker.
value - The endpoint Endpoint.public void removeEndpoint(ObjectName value)
ObjectName for an endpoint registered with the backing MessageBroker.
value - The endpoint ObjectName.
public ObjectName[] getServices()
throws IOException
MessageBrokerControlMBeanObjectNames for services that are registered with the
managed MessageBroker.
getServices in interface MessageBrokerControlMBeanObjectNames for services registered with the managed MessageBroker.
IOException - Throws IOException.public void addService(ObjectName value)
ObjectName for a service registered with the backing MessageBroker.
value - The service ObjectName.public void removeService(ObjectName value)
ObjectName for a service registered with the backing MessageBroker.
value - The service ObjectName.public Integer getFlexSessionCount()
MessageBrokerControlMBeanMessageBroker.
getFlexSessionCount in interface MessageBrokerControlMBeanMessageBroker.public void setFlexSessionCount(int connectionCount)
MessageBroker.
connectionCount - The flex session count for the managed MessageBroker.public Integer getMaxFlexSessionsInCurrentHour()
MessageBrokerControlMBeanMessageBroker in the current hour.
getMaxFlexSessionsInCurrentHour in interface MessageBrokerControlMBeanMessageBroker in the last hour.public void setMaxFlexSessionsInCurrentHour(int currentConnectionCountMax)
public Integer getEnterpriseConnectionCount()
throws IOException
MessageBrokerControlMBean
getEnterpriseConnectionCount in interface MessageBrokerControlMBeanIOException - Throws IOException.
public Long getAMFThroughput()
throws IOException
MessageBrokerControlMBean
getAMFThroughput in interface MessageBrokerControlMBeanIOException - Throws IOException.
public Long getHTTPThroughput()
throws IOException
MessageBrokerControlMBean
getHTTPThroughput in interface MessageBrokerControlMBeanIOException - Throws IOException.
public Long getEnterpriseThroughput()
throws IOException
MessageBrokerControlMBean
getEnterpriseThroughput in interface MessageBrokerControlMBeanIOException - Throws IOException.
public Long getStreamingAMFThroughput()
throws IOException
MessageBrokerControlMBean
getStreamingAMFThroughput in interface MessageBrokerControlMBeanIOException - Throws IOException.
public Long getStreamingHTTPThroughput()
throws IOException
MessageBrokerControlMBean
getStreamingHTTPThroughput in interface MessageBrokerControlMBeanIOException - Throws IOException.
|
||||||||||
| 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/MessageBrokerControl.html