8.8.5 When the Session Bean is invoked asynchronously
This subsection describes the trace collection points when the Session Bean is invoked asynchronously, and the trace information that can be collected.
In an asynchronous invocation, the output order of the event IDs output by the same thread is guaranteed, but the output order of the event IDs output by different threads is not guaranteed. Therefore, the following events might occur:
-
The output order of the event IDs might differ from the order described in this subsection.
-
The event IDs of asynchronous invocation might be output between the event IDs of other functionality.
- Organization of this subsection
(1) When a Session Bean is invoked asynchronously from the local client
(a) Trace collection points and PRF trace
The following table describes the event IDs, trace collection points, and PRF trace collection levels.
Event ID |
No. in the figure# |
Trace collection points |
Level |
---|---|---|---|
0x8472 |
1 |
Immediately after the EJB container receives a request (for a local invocation) |
A |
0x8473 |
2 |
Immediately before the EJB container sends a response (for a local invocation) |
A |
0x84C0 |
3 |
Immediately before the EJB container calls back the asynchronous business method of EJB |
A |
0x84D6 |
4 |
Immediately before the EJB container starts the asynchronous business method of EJB (for a local invocation) |
A |
0x8409 |
5 |
Immediately before the EJB container calls back the EJB business method |
B |
0x840A |
6 |
Immediately after returning from a callback of the EJB business method |
B |
0x84D7 |
7 |
Immediately after the asynchronous business method of EJB is terminated (for a local invocation) |
A |
0x84C1 |
8 |
Immediately after returning from a callback of the asynchronous business method of EJB |
A |
- Legend:
-
A: Standard
B: Advanced
- #
-
Corresponds to the numbers in Figure 8-27.
The following figure shows the trace collection points when the Session Bean is invoked asynchronously from the local client.
|
(b) Trace information that can be collected
The following table describes the trace information that can be collected when the Session Bean is invoked asynchronously from the local client.
No. in the figure# |
Event ID |
Level |
Information that you can acquire |
||
---|---|---|---|---|---|
Interface name |
Operation name |
Option |
|||
1 |
0x8472 |
A |
Bean name |
Method name, number of arguments |
-- |
2 |
0x8473 |
A |
Bean name |
Method name, number of arguments |
|
3 |
0x84C0 |
A |
Class name of the Bean to be called back |
Method name, number of arguments |
Root application information at the source of an asynchronous method invocation |
4 |
0x84D6 |
A |
Class name of the Bean to be called back |
Method name, number of arguments |
-- |
5 |
0x8409 |
B |
Bean name |
Method name, number of arguments |
-- |
6 |
0x840A |
B |
Bean name |
Method name, number of arguments |
|
7 |
0x84D7 |
A |
Class name of the Bean to be called back |
Method name, number of arguments |
|
8 |
0x84C1 |
A |
Class name of the Bean to be called back |
Method name, number of arguments |
|
- Legend:
-
A: Standard
B: Advanced
--: Not applicable
- #
-
Corresponds to the numbers in Figure 8-27.
(2) When the Session Bean is invoked asynchronously from the remote client
(a) Trace collection points and PRF trace
The following table describes the event IDs, trace collection points, and PRF trace collection levels.
Event ID |
No. in the figure# |
Trace collection points |
Level |
---|---|---|---|
0x8470 |
1 |
Immediately after the EJB container receives a request (for a remote invocation) |
A |
0x8471 |
2 |
Immediately before the EJB container sends a response (for a remote invocation) |
A |
0x84C0 |
3 |
Immediately before the EJB container calls back the asynchronous business method of EJB |
A |
0x84D8 |
4 |
Immediately before the EJB container starts the asynchronous business method of EJB (for a remote invocation) |
A |
0x8409 |
5 |
Immediately before the EJB container calls back the EJB business method |
B |
0x840A |
6 |
Immediately after returning from a callback of the EJB business method |
B |
0x84D9 |
7 |
Immediately after the asynchronous business method of EJB is terminated (for a remote invocation) |
A |
0x84C1 |
8 |
Immediately after returning from a callback of the asynchronous business method of EJB |
A |
- Legend:
-
A: Standard
B: Advanced
- #
-
Corresponds to the numbers in Figure 8-28.
The following figure shows the trace collection points when the Session Bean is invoked asynchronously from the remote client.
|
(b) Trace information that can be collected
The following table describes the trace information that can be collected when the Session Bean is invoked asynchronously from the remote client.
No. in the figure# |
Event ID |
Level |
Information that you can acquire |
||
---|---|---|---|---|---|
Interface name |
Operation name |
Option |
|||
1 |
0x8470 |
A |
Bean name |
Method name, number of arguments |
-- |
2 |
0x8471 |
A |
Bean name |
Method name, number of arguments |
|
3 |
0x84C0 |
A |
Class name of the Bean to be called back |
Method name, number of arguments |
Root application information at the source of an asynchronous method invocation |
4 |
0x84D8 |
A |
Class name of the Bean to be called back |
Method name, number of arguments |
-- |
5 |
0x8409 |
B |
Bean name |
Method name, number of arguments |
-- |
6 |
0x840A |
B |
Bean name |
Method name, number of arguments |
|
7 |
0x84D9 |
A |
Class name of the Bean to be called back |
Method name, number of arguments |
|
8 |
0x84C1 |
A |
Class name of the Bean to be called back |
Method name, number of arguments |
|
- Legend:
-
A: Standard
B: Advanced
--: Not applicable
- #
-
Corresponds to the numbers in Figure 8-28.
(3) When get is invoked from the local client
(a) Trace collection points and PRF trace
The following table describes the event IDs, trace collection points, and PRF trace collection levels.
Event ID |
No. in the figure# |
Trace collection points |
Level |
---|---|---|---|
0x84C2 |
1 |
When the processing of Future.get() starts (for a local invocation) |
B |
0x84C3 |
2 |
When the processing of Future.get() ends (for a local invocation) |
B |
0x84C4 |
1 |
When the processing of Future.get(long timeout, TimeUnit unit) starts (for a local invocation) |
B |
0x84C5 |
2 |
When the processing of Future.get(long timeout, TimeUnit unit) ends (for a local invocation) |
B |
- Legend:
-
B: Advanced
- #
-
Corresponds to the numbers in Figure 8-29.
The following figure shows the trace collection points when get is invoked from the local client.
|
(b) Trace information that can be collected
The following table describes the trace information that can be collected when get is invoked from the local client.
No. in the figure# |
Event ID |
Level |
Information that you can acquire |
||
---|---|---|---|---|---|
Interface name |
Operation name |
Option |
|||
1 |
0x84C2 |
B |
-- |
-- |
-- |
2 |
0x84C3 |
B |
-- |
-- |
|
1 |
0x84C4 |
B |
-- |
-- |
Method name, argument information |
2 |
0x84C5 |
B |
-- |
-- |
|
- Legend:
-
B: Advanced
--: Not applicable
- #
-
Corresponds to the numbers in Figure 8-29.
(4) When get is invoked from the remote client
(a) Trace collection points and PRF trace
The following table describes the event IDs, trace collection points, and PRF trace collection levels.
Event ID |
No. in the figure# |
Trace collection points |
Level |
---|---|---|---|
0x84C6 |
1 |
When the processing of Future.get() starts (for a remote invocation) |
B |
0x84C2 |
2 |
When the processing of Future.get() starts (for a local invocation) |
B |
0x84C3 |
3 |
When the processing of Future.get() ends (for a local invocation) |
B |
0x84C7 |
4 |
When the processing of Future.get() ends (for a remote invocation) |
B |
0x84C8 |
1 |
When the processing of Future.get(long timeout, TimeUnit unit) starts (for a remote invocation) |
B |
0x84C4 |
2 |
When the processing of Future.get(long timeout, TimeUnit unit) starts (for a local invocation) |
B |
0x84C5 |
3 |
When the processing of Future.get(long timeout, TimeUnit unit) ends (for a local invocation) |
B |
0x84C9 |
4 |
When the processing of Future.get(long timeout, TimeUnit unit) ends (for a remote invocation) |
B |
- Legend:
-
B: Advanced
- #
-
Corresponds to the numbers in Figure 8-30.
The following figure shows the trace collection points when get is invoked from the remote client.
|
(b) Trace information that can be collected
The following table describes the trace information that can be collected when get is invoked from the remote client.
No. in the figure# |
Event ID |
Level |
Information that you can acquire |
||
---|---|---|---|---|---|
Interface name |
Operation name |
Optional |
|||
1 |
0x84C6 |
B |
-- |
-- |
-- |
2 |
0x84C2 |
B |
-- |
-- |
-- |
3 |
0x84C3 |
B |
-- |
-- |
|
4 |
0x84C7 |
B |
-- |
-- |
|
1 |
0x84C8 |
B |
-- |
-- |
Method name, argument information |
2 |
0x84C4 |
B |
-- |
-- |
Method name, argument information |
3 |
0x84C5 |
B |
-- |
-- |
|
4 |
0x84C9 |
B |
-- |
-- |
|
- Legend:
-
B: Advanced
--: Not applicable
- #
-
Corresponds to the numbers in Figure 8-30.
(5) When isDone is invoked from the local client
(a) Trace collection points and PRF trace
The following table describes the event IDs, trace collection points, and PRF trace collection levels.
Event ID |
No. in the figure# |
Trace collection points |
Level |
---|---|---|---|
0x84CA |
1 |
When the processing of Future.isDone() starts (for a local invocation) |
B |
0x84CB |
2 |
When the processing of Future.isDone() ends (for a local invocation) |
B |
- Legend:
-
B: Advanced
- #
-
Corresponds to the numbers in Figure 8-31.
The following figure shows the trace collection points when isDone is invoked from the local client.
|
(b) Trace information that can be collected
The following table describes the trace information that can be collected when isDone is invoked from the local client.
No. in the figure# |
Event ID |
Level |
Information that you can acquire |
||
---|---|---|---|---|---|
Interface name |
Operation name |
Option |
|||
1 |
0x84CA |
B |
-- |
-- |
-- |
2 |
0x84CB |
B |
-- |
-- |
Return value of isDone() |
- Legend:
-
B: Advanced
--: Not applicable
- #
-
Corresponds to the numbers in Figure 8-31.
- Note
-
No exceptions are thrown in the execution of this method. Therefore, the logs showing abnormal status are not generated.
(6) When isDone is invoked from the remote client
(a) Trace collection points and PRF trace
The following table describes the event IDs, trace collection points, and PRF trace collection levels.
Event ID |
No. in the figure# |
Trace collection points |
Level |
---|---|---|---|
0x84CE |
1 |
When the processing of Future.isDone() starts (for a remote invocation) |
B |
0x84CA |
2 |
When the processing of Future.isDone() starts (for a local invocation) |
B |
0x84CB |
3 |
When the processing of Future.isDone() ends (for a local invocation) |
B |
0x84CF |
4 |
When the processing of Future.isDone() ends (for a remote invocation) |
B |
- Legend:
-
B: Advanced
- #
-
Corresponds to the numbers in Figure 8-32.
The following figure shows the trace collection points when isDone is invoked from the remote client.
|
(b) Trace information that can be collected
The following table describes the trace information that can be collected when isDone is invoked from the remote client.
No. in the figure# |
Event ID |
Level |
Information that you can acquire |
||
---|---|---|---|---|---|
Interface name |
Operation name |
Option |
|||
1 |
0x84CE |
B |
-- |
-- |
-- |
2 |
0x84CA |
B |
-- |
-- |
-- |
3 |
0x84CB |
B |
-- |
-- |
Return value of isDone() |
4 |
0x84CF |
B |
-- |
-- |
|
- Legend:
-
B: Advanced
--: Not applicable
- #
-
Corresponds to the numbers in Figure 8-32.
(7) When isCancelled is invoked from the local client
(a) Trace collection points and PRF trace
The following table describes the event IDs, trace collection points, and PRF trace collection levels.
Event ID |
No. in the figure# |
Trace collection points |
Level |
---|---|---|---|
0x84CC |
1 |
When the processing of Future.isCancelled() starts (for a local invocation) |
B |
0x84CD |
2 |
When the processing of Future.isCancelled() ends (for a local invocation) |
B |
- Legend:
-
B: Advanced
- #
-
Corresponds to the numbers in Figure 8-33.
The following figure shows the trace collection points when isCancelled is invoked from the local client.
|
(b) Trace information that can be collected
The following table describes the trace information that can be collected when isCancelled is invoked from the local client.
No. in the figure# |
Event ID |
Level |
Information that you can acquire |
||
---|---|---|---|---|---|
Interface name |
Operation name |
Option |
|||
1 |
0x84CC |
B |
-- |
-- |
-- |
2 |
0x84CD |
B |
-- |
-- |
Return value of isCancelled() |
- Legend:
-
B: Advanced
--: Not applicable
- #
-
Corresponds to the numbers in Figure 8-33.
- Note
-
No exceptions are thrown in the execution of this method. Therefore, the logs showing abnormal status are not generated.
(8) When isCancelled is invoked from the remote client
(a) Trace collection points and PRF trace
The following table describes the event IDs, trace collection points, and PRF trace collection levels.
Event ID |
No. in the figure# |
Trace collection points |
Level |
---|---|---|---|
0x84D0 |
1 |
When the processing of Future.isCancelled() starts (for a remote invocation) |
B |
0x84CC |
2 |
When the processing of Future.isCancelled() starts (for a local invocation) |
B |
0x84CD |
3 |
When the processing of Future.isCancelled() ends (for a local invocation) |
B |
0x84D1 |
4 |
When the processing of Future.isCancelled() ends (for a remote invocation) |
B |
- Legend:
-
B: Advanced
- #
-
Corresponds to the numbers in Figure 8-34.
The following figure shows the trace collection points when isCancelled is invoked from the remote client.
|
(b) Trace information that can be collected
The following table describes the trace information that can be collected when isCancelled is invoked from the remote client.
No. in the figure# |
Event ID |
Level |
Information that you can acquire |
||
---|---|---|---|---|---|
Interface name |
Operation name |
Option |
|||
1 |
0x84D0 |
B |
-- |
-- |
-- |
2 |
0x84CC |
B |
-- |
-- |
-- |
3 |
0x84CD |
B |
-- |
-- |
Return value of isCancelled() |
4 |
0x84D1 |
B |
-- |
-- |
|
- Legend:
-
B: Advanced
--: Not applicable
- #
-
Corresponds to the numbers in Figure 8-34.
(9) When cancel is invoked from the local client
(a) Trace collection points and PRF trace
The following table describes the event IDs, trace collection points, and PRF trace collection levels.
Event ID |
No. in the figure# |
Trace collection points |
Level |
---|---|---|---|
0x84D2 |
1 |
When the processing of Future.cancel() starts (for a local invocation) |
A |
0x84D3 |
2 |
When the processing of Future.cancel() ends (for a local invocation) |
A |
- Legend:
-
A: Standard
- #
-
Corresponds to the numbers in Figure 8-35.
The following figure shows the trace collection points when cancel is invoked from the local client.
|
(b) Trace information that can be collected
The following table describes the trace information that can be collected when cancel is invoked from the local client.
No. in the figure# |
Event ID |
Level |
Information that you can acquire |
||
---|---|---|---|---|---|
Interface name |
Operation name |
Option |
|||
1 |
0x84D2 |
A |
-- |
-- |
Method name, argument information |
2 |
0x84D3 |
A |
-- |
-- |
Return value of cancel() |
- Legend:
-
A: Standard
--: Not applicable
- #
-
Corresponds to the numbers in Figure 8-35.
- Note
-
No exceptions are thrown in the execution of this method. Therefore, the logs showing abnormal status are not generated.
(10) When cancel is invoked from the remote client
(a) Trace collection points and PRF trace
The following table describes the event IDs, trace collection points, and PRF trace collection levels.
Event ID |
No. in the figure# |
Trace collection points |
Level |
---|---|---|---|
0x84D4 |
1 |
When the processing of Future.cancel() starts (for a remote invocation) |
A |
0x84D2 |
2 |
When the processing of Future.cancel() starts (for a local invocation) |
A |
0x84D3 |
3 |
When the processing of Future.cancel() ends (for a local invocation) |
A |
0x84D5 |
4 |
When the processing of Future.cancel() ends (for a remote invocation) |
A |
- Legend:
-
A: Standard
- #
-
Corresponds to the numbers in Figure 8-36.
The following figure shows the trace collection points when cancel is invoked from the remote client.
|
(b) Trace information that can be collected
The following table describes the trace information that can be collected when cancel is invoked from the remote client.
No. in the figure# |
Event ID |
Level |
Information that you can acquire |
||
---|---|---|---|---|---|
Interface name |
Operation name |
Option |
|||
1 |
0x84D4 |
A |
-- |
-- |
Method name, argument information |
2 |
0x84D2 |
A |
-- |
-- |
Method name, argument information |
3 |
0x84D3 |
A |
-- |
-- |
Return value of cancel() |
4 |
0x84D5 |
A |
-- |
-- |
|
- Legend:
-
A: Standard
--: Not applicable
- #
-
Corresponds to the numbers in Figure 8-36.