389/461

## glassfish:kernel:connection-queue:setMaxTaskQueueSizeEvent

set maximum task queue size event

Synopsis

    glassfish:kernel:connection-queue:setMaxTaskQueueSizeEvent(
    java.lang.String listenerName,
    int size)

Description

This event is called when the maximum size of a task queue is changed.

Use this event to get notifications of maximum queue size value changes.

Parameters

`listenerName`

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

`size`

  The maximum number of tasks that can be queued.