413/461

## glassfish:kernel:thread-pool:threadAllocatedEvent

thread allocated event

Synopsis

    glassfish:kernel:connections-thread-pool:threadAllocatedEvent(
    java.lang.String monitoringId,
    java.lang.String threadPoolName,
    java.lang.String threadId)

Description

This event is called when a new thread is created by a thread pool.

Use this event to count the number of threads in a thread pool.

Parameters

`monitoringId`

  The thread pool monitoring identifier.

`threadPoolName`

  The thread pool name in the server configuration.

`threadId`

  The ID of the new thread.