glassfish:kernel:connections-keep-alive:setMaxCountRequestsEvent

set maximum count requests event

Synopsis

glassfish:kernel:connections-keep-alive:setMaxCountRequestsEvent(
java.lang.String listenerName,
int maxRequests)

Description

This event is called when the maximum allowed number of HTTP requests that can be processed on a single connection is changed.

Use this event to get notification of changes to the maximum allowed number of HTTP requests that can be processed on a single connection.

Parameters

listenerName

The name of the network listener associated with this keep-alive setting.

maxRequests

The maximum allowed number of HTTP requests that can be processed on a single connection.