412/461

## glassfish:kernel:thread-pool:setMaxThreadsEvent

set maximum threads event

Synopsis

    glassfish:kernel:connections-thread-pool:setMaxThreadsEvent(
    java.lang.String monitoringId,
    java.lang.String threadPoolName,
    int maxNumberOfThreads)

Description

This event is called when the maximum number of threads in a thread pool is changed.

Use this event to get notification of changes to the maximum number of threads in a thread pool.

Parameters

`monitoringId`

  The thread pool monitoring identifier.

`threadPoolName`

  The thread pool name in the server configuration.

`maxNumberOfThreads`

  The maximum number of threads in a thread pool.