Class KeepAliveMonitor

  • All Implemented Interfaces:
    org.glassfish.grizzly.http.KeepAliveProbe

    public class KeepAliveMonitor
    extends Object
    implements org.glassfish.grizzly.http.KeepAliveProbe
    Author:
    oleksiys
    • 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