flex.management.runtime.messaging.endpoints
Class StreamingEndpointControl

java.lang.Object
  extended by flex.management.BaseControl
      extended by flex.management.runtime.messaging.endpoints.EndpointControl
          extended by flex.management.runtime.messaging.endpoints.StreamingEndpointControl
All Implemented Interfaces:
BaseControlMBean, EndpointControlMBean, StreamingEndpointControlMBean, MBeanRegistration
Direct Known Subclasses:
StreamingAMFEndpointControl, StreamingHTTPEndpointControl

public abstract class StreamingEndpointControl
extends EndpointControl
implements StreamingEndpointControlMBean

The StreamingEndpointControl class is the base MBean implementation for monitoring and managing a BaseStreamingHTTPEndpoint at runtime.


Field Summary
 
Fields inherited from class flex.management.BaseControl
DOMAIN_PREFIX
 
Constructor Summary
StreamingEndpointControl(BaseStreamingHTTPEndpoint endpoint, BaseControl parent)
          Constructs a StreamingEndpointControl, assigning managed message endpoint and parent MBean.
 
Method Summary
 Date getLastPushTimestamp()
          Returns the timestamp for the most recent push invocation.
 Integer getMaxStreamingClients()
          Returns the maximum number of clients that will be allowed to establish a streaming HTTP connection with the endpoint.
 Integer getPushCount()
          Returns the count of push invocations.
 Double getPushFrequency()
          Returns the number of push invocations per minute.
 Integer getStreamingClientsCount()
          Returns the the number of clients that are currently in the streaming state.
 void incrementPushCount()
          Increments the count of messages pushed by the endpoint.
 void resetPushCount()
          Resets the count of push invocations.
 
Methods inherited from class flex.management.runtime.messaging.endpoints.EndpointControl
addToBytesDeserialized, addToBytesSerialized, getBytesDeserialized, getBytesSerialized, getId, getLastServiceMessageTimestamp, getSecurityConstraint, getSecurityConstraintOf, getServiceMessageCount, getServiceMessageFrequency, getStartTimestamp, getURI, incrementServiceMessageCount, isRunning, preDeregister, resetServiceMessageCount
 
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.runtime.messaging.endpoints.EndpointControlMBean
getBytesDeserialized, getBytesSerialized, getLastServiceMessageTimestamp, getSecurityConstraint, getServiceMessageCount, getServiceMessageFrequency, getStartTimestamp, getURI, isRunning, resetServiceMessageCount
 
Methods inherited from interface flex.management.BaseControlMBean
getId, getParent, getType
 

Constructor Detail

StreamingEndpointControl

public StreamingEndpointControl(BaseStreamingHTTPEndpoint endpoint,
                                BaseControl parent)
Constructs a StreamingEndpointControl, assigning managed message endpoint and parent MBean.

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

getMaxStreamingClients

public Integer getMaxStreamingClients()
Description copied from interface: StreamingEndpointControlMBean
Returns the maximum number of clients that will be allowed to establish a streaming HTTP connection with the endpoint.

Specified by:
getMaxStreamingClients in interface StreamingEndpointControlMBean
Returns:
The maximum number of clients that will be allowed to establish a streaming HTTP connection with the endpoint.

getPushCount

public Integer getPushCount()
Description copied from interface: StreamingEndpointControlMBean
Returns the count of push invocations.

Specified by:
getPushCount in interface StreamingEndpointControlMBean
Returns:
The count of push invocations.

resetPushCount

public void resetPushCount()
Description copied from interface: StreamingEndpointControlMBean
Resets the count of push invocations.

Specified by:
resetPushCount in interface StreamingEndpointControlMBean

incrementPushCount

public void incrementPushCount()
Increments the count of messages pushed by the endpoint.


getLastPushTimestamp

public Date getLastPushTimestamp()
Description copied from interface: StreamingEndpointControlMBean
Returns the timestamp for the most recent push invocation.

Specified by:
getLastPushTimestamp in interface StreamingEndpointControlMBean
Returns:
The timestamp for the most recent push invocation.

getPushFrequency

public Double getPushFrequency()
Description copied from interface: StreamingEndpointControlMBean
Returns the number of push invocations per minute.

Specified by:
getPushFrequency in interface StreamingEndpointControlMBean
Returns:
The number of push invocations per minute.

getStreamingClientsCount

public Integer getStreamingClientsCount()
Description copied from interface: StreamingEndpointControlMBean
Returns the the number of clients that are currently in the streaming state.

Specified by:
getStreamingClientsCount in interface StreamingEndpointControlMBean
Returns:
The number of clients that are currently in the streaming state.


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/endpoints/StreamingEndpointControl.html