Hitachi

uCosminexus Application Server Maintenance and Migration Guide


8.25.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.

Table 8‒133: Details of trace collection points in a Java batch

Event ID

No. in the figures#

Trace acquisition points

Level

0xD020

1

Immediately after the javax.batch.runtime.BatchRuntime.getJobOperator() method starts

A

0xD021

2

Immediately before the javax.batch.runtime.BatchRuntime.getJobOperator() method ends

A

0xD022

3

Immediately after the javax.batch.operations.JobOperator.start(String jobXMLName, Properties jobParameters) method starts

A

0xD023

4

Immediately before the javax.batch.operations.JobOperator.start(String jobXMLName, Properties jobParameters) method ends

A

0xD024

5

Immediately after the javax.batch.operations.JobOperator.restart(long executionId, Properties restartParameters) method starts

A

0xD025

6

Immediately before the javax.batch.operations.JobOperator.restart(long executionId, Properties restartParameters) method ends

A

0xD026

7

Immediately after the javax.batch.operations.JobOperator.stop(long executionId) method starts

A

0xD027

8

Immediately before the javax.batch.operations.JobOperator.stop(long executionId) method ends

A

0xD028

9

Immediately after the javax.batch.operations.JobOperator.abandon(long executionId) method starts

A

0xD029

10

Immediately before the javax.batch.operations.JobOperator.abandon(long executionId) method ends

A

0xD02A

11

Immediately after the job starts

A

0xD02B

12

Immediately after the job ends

A

0xD02C

13

Immediately after the step processing starts

A

0xD02D

14

Immediately before the step processing ends

A

0xD02E

15

Immediately before invoking the open(Serializable checkpoint) method of the implementation class of javax.batch.api.chunk.ItemReader

A

0xD02F

16

Immediately after the processing of the open(Serializable checkpoint) method of the implementation class of javax.batch.api.chunk.ItemReader is complete

A

0xD030

17

Immediately before invoking the close() method of the implementation class of javax.batch.api.chunk.ItemReader

A

0xD031

18

Immediately after the processing of the close() method of the implementation class of javax.batch.api.chunk.ItemReader is complete

A

0xD032

19

Immediately before invoking the readItem() method of the implementation class of javax.batch.api.chunk.ItemReader

A

0xD033

20

Immediately after the processing of the readItem() method of the implementation class of javax.batch.api.chunk.ItemReader is complete

A

0xD034

21

Immediately before invoking the checkpointInfo() method of the implementation class of javax.batch.api.chunk.ItemReader

A

0xD035

22

Immediately after the processing of the checkpointInfo() method of the implementation class of javax.batch.api.chunk.ItemReader is complete

A

0xD036

23

Immediately before invoking the processItem(Object item) method of the implementation class of javax.batch.api.chunk.ItemProcessor

A

0xD037

24

Immediately after the processing of the processItem(Object item) method of the implementation class of javax.batch.api.chunk.ItemProcessor is complete

A

0xD038

25

Immediately before invoking the open(Serializable checkpoint) method of the implementation class of javax.batch.api.chunk.ItemWriter

A

0xD039

26

Immediately after the processing of the open(Serializable checkpoint) method of the implementation class of javax.batch.api.chunk.ItemWriter is complete

A

0xD03A

27

Immediately before invoking the close() method of the implementation class of javax.batch.api.chunk.ItemWriter

A

0xD03B

28

Immediately after the processing of the close() method of the implementation class of javax.batch.api.chunk.ItemWriter is complete

A

0xD03C

29

Immediately before invoking the writeItems(List<Object> items) method of the implementation class of javax.batch.api.chunk.ItemWriter

A

0xD03D

30

Immediately after the processing of the writeItems(List<Object> items) method of the implementation class of javax.batch.api.chunk.ItemWriter is complete

A

0xD03E

31

Immediately before invoking the checkpointInfo() method of the implementation class of javax.batch.api.chunk.ItemWriter

A

0xD03F0

32

Immediately after the processing of the checkpointInfo() method of the implementation class of javax.batch.api.chunk.ItemWriter is complete

A

0xD040

33

Immediately before invoking the beforeJob() method of the implementation class of javax.batch.api.listener.JobListener

A

0xD041

34

Immediately after the processing of the beforeJob() method of the implementation class of javax.batch.api.listener.JobListener is complete

A

0xD042

35

Immediately before invoking the afterJob() method of the implementation class of javax.batch.api.listener.JobListener

A

0xD043

36

Immediately after the processing of the afterJob() method of the implementation class of javax.batch.api.listener.JobListener is complete

A

0xD044

37

Immediately before invoking the beforeStep() method of the implementation class of javax.batch.api.listener.StepListener

A

0xD045

38

Immediately after the processing of the beforeStep() method of the implementation class of javax.batch.api.listener.StepListener is complete

A

0xD046

39

Immediately before invoking the afterStep() method of the implementation class of javax.batch.api.listener.StepListener

A

0xD047

40

Immediately after the processing of the afterStep() method of the implementation class of javax.batch.api.listener.StepListener is complete

A

0xD048

41

Immediately before invoking the beforeChunk() method of the implementation class of javax.batch.api.chunk.listener.ChunkListener

A

0xD049

42

Immediately after the processing of the beforeChunk() method of the implementation class of javax.batch.api.chunk.listener.ChunkListener is complete

A

0xD04A

43

Immediately before invoking the afterChunk() method of the implementation class of javax.batch.api.chunk.listener.ChunkListener

A

0xD04B

44

Immediately after the processing of the afterChunk() method of the implementation class of javax.batch.api.chunk.listener.ChunkListener is complete

A

0xD04C

45

Immediately before invoking the onError(Exception ex) method of the implementation class of javax.batch.api.chunk.listener.ChunkListener

A

0xD04D

46

Immediately after the processing of the onError(Exception ex) method of the implementation class of javax.batch.api.chunk.listener.ChunkListener is complete

A

Legend:

A: Standard

#

Corresponds to the numbers in Figure 8-96 through Figure 8-99.

The following figures show the trace collection points in Java batch.

Figure 8‒96: Trace collection points of Java batch (points output between the client, synchronous execution thread, and asynchronous execution thread)

[Figure]

Figure 8‒97: Trace collection points of Java batch (points output during job execution)

[Figure]

Figure 8‒98: Trace collection points of Java batch (points output during step processing)

[Figure]

Figure 8‒99: Trace collection points of Java batch (points output during step processing (processing in range A))

[Figure]

[Figure]