388/461

## glassfish:kernel:connection-queue:onTaskQueueOverflowEvent

on task queue overflow event

Synopsis

    glassfish:kernel:connection-queue:onTaskQueueOverflowEvent(
    java.lang.String listenerName)

Description

This event is called when a new task cannot be added to a task queue because the maximum number of tasks in the queue has been reached.

Use this event to count the number of tasks rejected by the server because of the task queue size limitation.

Parameters

`listenerName`

  The name of the network listener associated with the task queue.