|
||||||||||
| 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.endpoints.EndpointControl
public abstract class EndpointControl
The EndpointControl class is the MBean implementation for
monitoring and managing an Endpoint at runtime.
| Field Summary |
|---|
| Fields inherited from class flex.management.BaseControl |
|---|
DOMAIN_PREFIX |
| Constructor Summary | |
|---|---|
EndpointControl(Endpoint endpoint,
BaseControl parent)
Constructs an EndpointControl, assigning its managed endpoint and
parent MBean. |
|
| Method Summary | |
|---|---|
void |
addToBytesDeserialized(int bytesDeserialized)
Increments the count of bytes deserialized by the endpoint. |
void |
addToBytesSerialized(int bytesSerialized)
Increments the count of bytes serialized by the endpoint. |
Long |
getBytesDeserialized()
Returns the total Bytes that have been deserialized by this endpoint during its lifetime. |
Long |
getBytesSerialized()
Returns the total Bytes that have been serialized by this endpoint during its lifetime. |
String |
getId()
Returns the id for this MBean. |
Date |
getLastServiceMessageTimestamp()
Returns the timestamp for the most recent message decoded by this endpoint and routed to the broker. |
String |
getSecurityConstraint()
Returns the security constraint that is associated with this endpoint. |
static String |
getSecurityConstraintOf(Endpoint endpoint)
|
Integer |
getServiceMessageCount()
Returns the count of messages decoded by this endpoint and routed to the broker. |
Double |
getServiceMessageFrequency()
Returns the number of service message invocations per minute. |
Date |
getStartTimestamp()
Returns the start timestamp for the Endpoint. |
String |
getURI()
Returns the URI that corresponds to this endpoint. |
void |
incrementServiceMessageCount()
Increments the count of serviceMessage() invocations by the endpoint. |
Boolean |
isRunning()
Returns true if the Endpoint is running. |
void |
preDeregister()
Implements javax.management.MBeanRegistration.preDeregister. |
void |
resetServiceMessageCount()
Resets the count of service message invocations. |
| Methods inherited from class flex.management.BaseControl |
|---|
getApplicationId, getMBeanServer, getObjectName, getParent, getParentControl, getRegistrar, getType, 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.BaseControlMBean |
|---|
getParent, getType |
| Constructor Detail |
|---|
public EndpointControl(Endpoint endpoint,
BaseControl parent)
EndpointControl, assigning its managed endpoint and
parent MBean.
endpoint - The Endpoint managed by this MBean.parent - The parent MBean in the management hierarchy.| Method Detail |
|---|
public String getId()
BaseControlMBeanid key in the ObjectName for this MBean.
getId in interface BaseControlMBeangetId in class BaseControlpublic Boolean isRunning()
EndpointControlMBeantrue if the Endpoint is running.
isRunning in interface EndpointControlMBeantrue if the Endpoint is running.public Date getStartTimestamp()
EndpointControlMBeanEndpoint.
getStartTimestamp in interface EndpointControlMBeanEndpoint.public Integer getServiceMessageCount()
EndpointControlMBean
getServiceMessageCount in interface EndpointControlMBeanpublic void resetServiceMessageCount()
EndpointControlMBean
resetServiceMessageCount in interface EndpointControlMBeanpublic void incrementServiceMessageCount()
serviceMessage() invocations by the endpoint.
public Date getLastServiceMessageTimestamp()
EndpointControlMBean
getLastServiceMessageTimestamp in interface EndpointControlMBeanpublic Double getServiceMessageFrequency()
EndpointControlMBean
getServiceMessageFrequency in interface EndpointControlMBean
public void preDeregister()
throws Exception
BaseControljavax.management.MBeanRegistration.preDeregister.
Allows the MBean to perform any operations needed after having been
unregistered in the MBean server. This base implementation is a no-op
that may be overridden.
preDeregister in interface MBeanRegistrationpreDeregister in class BaseControlExceptionpublic String getURI()
EndpointControlMBean
getURI in interface EndpointControlMBeanpublic String getSecurityConstraint()
EndpointControlMBean
getSecurityConstraint in interface EndpointControlMBeanpublic static String getSecurityConstraintOf(Endpoint endpoint)
public Long getBytesDeserialized()
EndpointControlMBean
getBytesDeserialized in interface EndpointControlMBeanpublic void addToBytesDeserialized(int bytesDeserialized)
public Long getBytesSerialized()
EndpointControlMBean
getBytesSerialized in interface EndpointControlMBeanpublic void addToBytesSerialized(int bytesSerialized)
|
||||||||||
| 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/endpoints/EndpointControl.html