org.glassfish.grizzly.http.server.jmx
Class HttpServerFilter

java.lang.Object
  extended by org.glassfish.grizzly.monitoring.jmx.JmxObject
      extended by org.glassfish.grizzly.http.server.jmx.HttpServerFilter

@ManagedObject
@Description(value="The HttpServerFilter is the entity responsible for providing and processing higher level abstractions based on HTTP protocol.")
public class HttpServerFilter
extends JmxObject

JMX management object for the HttpServerFilter.

Since:
2.0

Constructor Summary
HttpServerFilter(HttpServerFilter httpServerFilter)
           
 
Method Summary
 java.lang.String getJmxName()
           
 long getRequestsCancelledCount()
           
 long getRequestsCompletedCount()
           
 long getRequestsReceivedCount()
           
 int getRequestsSuspendedCount()
           
 long getRequestsTimedOutCount()
           
protected  void onDeregister(GrizzlyJmxManager mom)
           
protected  void onRegister(GrizzlyJmxManager mom, org.glassfish.gmbal.GmbalMBean bean)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpServerFilter

public HttpServerFilter(HttpServerFilter httpServerFilter)
Method Detail

getJmxName

public java.lang.String getJmxName()
Specified by:
getJmxName in class JmxObject

onRegister

protected void onRegister(GrizzlyJmxManager mom,
                          org.glassfish.gmbal.GmbalMBean bean)
Specified by:
onRegister in class JmxObject

onDeregister

protected void onDeregister(GrizzlyJmxManager mom)
Specified by:
onDeregister in class JmxObject

getRequestsReceivedCount

@ManagedAttribute(id="requests-received-count")
@Description(value="The total number of requests received.")
public long getRequestsReceivedCount()
Returns:
the number of requests this HttpServerFilter has received.

getRequestsCompletedCount

@ManagedAttribute(id="requests-completed-count")
@Description(value="The total number of requests that have been successfully completed.")
public long getRequestsCompletedCount()
Returns:
the number of requests this HttpServerFilter has completed servicing.

getRequestsSuspendedCount

@ManagedAttribute(id="current-suspended-request-count")
@Description(value="The current number of requests that are suspended to be processed at a later point in time.")
public int getRequestsSuspendedCount()
Returns:
the number of requests currently suspended.

getRequestsTimedOutCount

@ManagedAttribute(id="requests-timed-out-count")
@Description(value="The total number of suspended requests that have been timed out.")
public long getRequestsTimedOutCount()
Returns:
the number of suspended requests that have timed out.

getRequestsCancelledCount

@ManagedAttribute(id="requests-cancelled-count")
@Description(value="The total number of suspended requests that have been cancelled.")
public long getRequestsCancelledCount()
Returns:
the number of requests suspended requests that have been cancelled.


Copyright © 2011 Oracle Corpration. All Rights Reserved.