@Retention(value=RUNTIME) @Target(value={PARAMETER,ANNOTATION_TYPE}) public @interface ConcludesBatch
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 updates to a database, client or other external system. In those cases it is preferable to reduce the number of IO operations.
Copyright © 2010–2024. All rights reserved.