jakartaee / batch

The Jakarta Batch project produces the Batch Specification and API.
https://projects.eclipse.org/projects/ee4j.batch
Apache License 2.0
13 stars 17 forks source link

Clarify that analyzer calls from collector are in-order (per partition) #87

Open follis opened 4 years ago

follis commented 4 years ago

Originally opened as bug 7342 by ScottKurz

--------------Original Comment History---------------------------- Comment from = ScottKurz on 2015-10-08 15:54:10 +0000

I think it would only help to clarify that analyzer calls from collector are in-order (per partition), with analyzeStatus calls last.

So for partition 1, you'd have:

analyzeCollectorData // 1st chunk analyzeCollectorData // 2nd chunk .. analyzeCollectorData // Nth chunk analyzeStatus // Always called

Should be non-controversial, might seem obvious.. but it just clarifies that it's the implementation's job, not the application's job to worry about.