416/461

## glassfish:kernel:thread-pool:threadReturnedToPoolEvent

thread returned to pool event

Synopsis

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

Description

This event is called when a thread has completed its task execution and returns to the pool.

Use this event to count the number of tasks executed by a specific thread or an entire thread pool, or to count the number of busy 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 a returned thread.