352/461

## glassfish:jca:work-management:workWaitedFor

work waited for event

Synopsis

    glassfish:jca:work-management:workWaitedFor(
    java.lang.String raName,
    java.lang.Long elapsedTime)

Description

This event is sent when the submitted work is taken from the work queue and considered for execution.

Use this event to get the time for which a work instance has waited before it is executed

Parameters

`raName`

  The name of the resource adapter that submitted the work instance.

`elapsedTime`

  The time, in milliseconds, for which work instance waited for execution.