Annotation Interface ConcludesBatch


@Retention(RUNTIME) @Target({PARAMETER,ANNOTATION_TYPE}) public @interface ConcludesBatch
Annotation indication that a parameter on an EventHandler method should be injected with a value that informs whether the event is the last event of a processed batch of events. The parameter type must be assignable from Boolean.

Times when this information is useful is e.g. when patching update to a database, client or other external system. In those cases it is preferable to reduce the number of IO operations.

Author:
Rene de Waele