Hitachi

Hitachi Application Server V10 User's Guide (For Windows® Systems)


10.3.11 Trace collection points of Concurrency Utilities

The following provides details on the trace collection points of Concurrency Utilities.

When a task is executed in an ExecutorService in Java EE

The figure below shows the trace collection points of Concurrency Utilities when a task is executed in an ExecutorService in Java EE.

Figure 10‒28: Trace collection points of Concurrency Utilities (when a task is executed in an ExecutorService in Java EE)

[Figure]

Reference note

This figure shows the workflow for collecting traces as an extension of a request. This figure does not show all triggers for collecting traces. Other triggers for collecting traces exist.

The table below lists event IDs, trace levels, trace collection points, and information that can be collected.

Table 10‒27: Details on the trace collection points of Concurrency Utilities (when a task is executed in an ExecutorService in Java EE)

Event ID

Number in the figure

PRF trace collection level

Trace collection point

Information that can be collected

Interface name

Operation name

Option

0xBC00

1

Standard level

Immediately before executing a task by using ManagedExecutorService or ManagedScheduledExecutorService

Class name

-

-

0xBC01

2

Standard level

Immediately after executing a task by using ManagedExecutorService or ManagedScheduledExecutorService

Class name

-

In a normal state

-

In an abnormal state

Exception name

When a task is repeatedly executed in a ScheduledExecutorService in Java EE

The figure below shows the trace collection points of Concurrency Utilities when a task is repeatedly executed in a ScheduledExecutorService in Java EE.

Figure 10‒29: Trace collection points of Concurrency Utilities (when a task is repeatedly executed in a ScheduledExecutorService in Java EE)

[Figure]

Reference note

This figure shows the workflow for collecting traces as an extension of a request. This figure does not show all of the triggers for collecting traces. Other triggers for collecting traces exist.

The event IDs, trance levels, trace collection points, and information that can be collected are the same as those described in "Details on trace collection points of Concurrency Utilities (when a task is executed in an ExecutorService in Java EE)".

When ManagedTask is executed in an ExecutorService in Java EE

The figure below shows the trace collection points of Concurrency Utilities when ManagedTask is executed in an ExecutorService in Java EE.

Figure 10‒30: Trace collection points of Concurrency Utilities (when ManagedTask is executed in an ExecutorService in Java EE)

[Figure]

Reference note

This figure shows the workflow for collecting traces as an extension of a request. This figure does not show all of the triggers for collecting traces. Other triggers for collecting traces exist.

The event IDs, trance levels, trace collection points, and information that can be collected are the same as those described in "Details on trace collection points of Concurrency Utilities (when a task is executed in an ExecutorService in Java EE)".

When a task with context information added is executed in an ExecutorService in Java SE

The figure below shows the trace collection points of Concurrency Utilities when a task with context information added is executed in an ExecutorService in Java SE.

Figure 10‒31: Trace collection points of Concurrency Utilities (when a task with context information added is executed in an ExecutorService in Java SE)

[Figure]

Reference note

This figure shows the workflow for collecting traces as an extension of a request. This figure does not show all of the triggers for collecting traces. Other triggers for collecting traces exist.

The table below lists event IDs, trace levels, trace collection points, and information that can be collected.

Table 10‒28: Details on the trace collection points of Concurrency Utilities (when a task with context information added is executed in an ExecutorService in Java SE)

Event ID

Number in the figure

PRF trace collection level

Trace collection point

Information that can be collected

Interface name

Operation name

Option

0xBC02

3

Standard level

Immediately before executing a task with context information added

Class name

-

-

0xBC03

4

Standard level

Immediately after executing a task with context information

Class name

-

In a normal state

-

In an abnormal state

Exception name