8.27.1 Trace collection points and trace information that can be collected
The following table describes the event IDs, trace collection points, and PRF trace collection levels.
Event ID |
No. in the figures# |
Trace acquisition points |
Level |
---|---|---|---|
0xD050 |
1 |
Entry point of the new task registration method |
A |
0xD051 |
2 |
Exit point of the new task registration method |
A |
0xD052 |
3 |
Immediately before calling a task |
A |
0xD053 |
4 |
Immediately after the task ends |
A |
0xD054 |
5 |
Entry point of the get method of the Future or ScheduledFuture object returned as a return value upon task registration |
A |
0xD055 |
6 |
Exit point of the get method of the Future or ScheduledFuture object returned as a return value upon task registration |
A |
0xD056 |
7 |
Entry point of the cancel method of the Future or ScheduledFuture object returned as a return value upon task registration |
A |
0xD057 |
8 |
Exit point of the cancel method of the Future or ScheduledFuture object returned as a return value upon task registration |
A |
Figure 8-109 shows the trace collection points when the following methods are called:
-
javax.enterprise.concurrent.ManagedExecutorService#execute(Runnable)
-
javax.enterprise.concurrent.ManagedScheduledExecutorService#execute(Runnable)
Figure 8‒109: Trace collection points of Concurrency Utilities (1)
Figure 8-110 through Figure 8-114 show the trace collection points when the following methods are called. The trace collection points differ depending on the timing of calling the get method or the cancel method.
When the get method is called before the task finishes: Figure 8-110
When the get method is called after the task finishes: Figure 8-111
When the cancel method is called before the task execution starts: Figure 8-112
When the cancel method is called during task processing: Figure 8-113
When the cancel method is called after the task finishes: Figure 8-114
-
javax.enterprise.concurrent.ManagedExecutorService#submit(Runnable)
-
javax.enterprise.concurrent.ManagedExecutorService#submit(Runnable, T)
-
javax.enterprise.concurrent.ManagedExecutorService#submit(Callable<T>)
-
javax.enterprise.concurrent.ManagedScheduledExecutorService#submit(Runnable)
-
javax.enterprise.concurrent.ManagedScheduledExecutorService#submit(Runnable, T)
-
javax.enterprise.concurrent.ManagedScheduledExecutorService#submit(Callable<T>)
-
javax.enterprise.concurrent.ManagedScheduledExecutorService#schedule(Callable<V>, long, TimeUnit)
-
javax.enterprise.concurrent.ManagedScheduledExecutorService#schedule(Callable<V>, Trigger)
-
javax.enterprise.concurrent.ManagedScheduledExecutorService#schedule(Runnable, long, TimeUnit)
-
javax.enterprise.concurrent.ManagedScheduledExecutorService#schedule(Runnable, Trigger)
-
javax.enterprise.concurrent.ManagedScheduledExecutorService#scheduleAtFixedRate(Runnable, long, long, TimeUnit)
-
javax.enterprise.concurrent.ManagedScheduledExecutorService#scheduleWithFixedDelay(Runnable, long, long, TimeUnit)
Figure 8‒110: Trace collection points of Concurrency Utilities (2) (when the get method is called before the task finishes) Figure 8‒111: Trace collection points of Concurrency Utilities (3) (when the get method is called after the task finishes) Figure 8‒112: Trace collection points of Concurrency Utilities (4) (when the cancel method is called before the task execution starts) Figure 8‒113: Trace collection points of Concurrency Utilities (5) (when the cancel method is called during task processing) Figure 8‒114: Trace collection points of Concurrency Utilities (6) (when the cancel method is called after the task finishes)
Figure 8-115 shows the trace collection points when the following methods are called:
-
javax.enterprise.concurrent.ManagedExecutorService#invokeAll(Collection<? Extends Callable<T>>)
-
javax.enterprise.concurrent.ManagedExecutorService#invokeAll(Collection<? Extends Callable<T>>, long, TimeUnit)
-
javax.enterprise.concurrent.ManagedScheduledExecutorService#invokeAll(Collection<? Extends Callable<T>>)
-
javax.enterprise.concurrent.ManagedScheduledExecutorService#invokeAll(Collection<? Extends Callable<T>>, long, TimeUnit)
Figure 8‒115: Trace collection points of Concurrency Utilities (7)
Figure 8-116 shows the trace collection points when the following methods are called:
-
javax.enterprise.concurrent.ManagedExecutorService#invokeAny(Collection<? Extends Callable<T>>)
-
javax.enterprise.concurrent.ManagedExecutorService#invokeAny(Collection<? Extends Callable<T>>, long, TimeUnit)
-
javax.enterprise.concurrent.ManagedScheduledExecutorService#invokeAny(Collection<? Extends Callable<T>>)
-
javax.enterprise.concurrent.ManagedScheduledExecutorService#invokeAny(Collection<? Extends Callable<T>>, long, TimeUnit)
Figure 8‒116: Trace collection points of Concurrency Utilities (8)