com.sun.enterprise.v3.services.impl.monitor
Class KeepAliveMonitor

java.lang.Object
  extended by com.sun.enterprise.v3.services.impl.monitor.KeepAliveMonitor
All Implemented Interfaces:
org.glassfish.grizzly.http.KeepAliveProbe

public class KeepAliveMonitor
extends Object
implements org.glassfish.grizzly.http.KeepAliveProbe

Author:
oleksiys

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.glassfish.grizzly.http.KeepAliveProbe
org.glassfish.grizzly.http.KeepAliveProbe.Adapter
 
Constructor Summary
KeepAliveMonitor(GrizzlyMonitoring grizzlyMonitoring, String monitoringId, org.glassfish.grizzly.http.KeepAlive config)
           
 
Method Summary
 void onConnectionAcceptEvent(org.glassfish.grizzly.Connection connection)
           
 void onHitEvent(org.glassfish.grizzly.Connection connection, int requestNumber)
           
 void onRefuseEvent(org.glassfish.grizzly.Connection connection)
           
 void onTimeoutEvent(org.glassfish.grizzly.Connection connection)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeepAliveMonitor

public KeepAliveMonitor(GrizzlyMonitoring grizzlyMonitoring,
                        String monitoringId,
                        org.glassfish.grizzly.http.KeepAlive config)
Method Detail

onConnectionAcceptEvent

public void onConnectionAcceptEvent(org.glassfish.grizzly.Connection connection)
Specified by:
onConnectionAcceptEvent in interface org.glassfish.grizzly.http.KeepAliveProbe

onHitEvent

public void onHitEvent(org.glassfish.grizzly.Connection connection,
                       int requestNumber)
Specified by:
onHitEvent in interface org.glassfish.grizzly.http.KeepAliveProbe

onRefuseEvent

public void onRefuseEvent(org.glassfish.grizzly.Connection connection)
Specified by:
onRefuseEvent in interface org.glassfish.grizzly.http.KeepAliveProbe

onTimeoutEvent

public void onTimeoutEvent(org.glassfish.grizzly.Connection connection)
Specified by:
onTimeoutEvent in interface org.glassfish.grizzly.http.KeepAliveProbe


Copyright © 2012. All Rights Reserved.