@NonNullApi
程序包 org.springframework.batch.repeat.support
Infrastructure implementations of repeat support concerns.
接口概要 接口 说明 RepeatInternalState Internal interface for extensions ofRepeatTemplate
.类概要 类 说明 RepeatInternalStateSupport RepeatSynchronizationManager Global variable support for repeat clients.RepeatTemplate Simple implementation and base class for batch templates implementingRepeatOperations
.ResultHolderResultQueue An implementation of theResultQueue
that throttles the number of expected results, limiting it to a maximum at any given time.TaskExecutorRepeatTemplate ProvidesRepeatOperations
support including interceptors that can be used to modify or monitor the behaviour at run time.
This implementation is sufficient to be used to configure transactional behaviour for each item by making theRepeatCallback
transactional, or for the whole batch by making the execute method transactional (but only then if the task executor is synchronous).
This class is thread-safe if its collaborators are thread-safe (interceptors, terminationPolicy, callback).ThrottleLimitResultQueue<T> An implementation of theResultQueue
that throttles the number of expected results, limiting it to a maximum at any given time.