Class EventPublicationRepository.FailedCriteria
java.lang.Object
org.springframework.modulith.events.core.EventPublicationRepository.FailedCriteria
- Enclosing interface:
- EventPublicationRepository
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionlongThe number ofEventPublications to read.@Nullable InstantThe reference date to use as cutoff when selecting failedEventPublications, i.e. only older publications will be selected.withItemsToRead(long itemsToRead) withPublicationsPublishedBefore(Instant reference)
-
Field Details
-
ALL
-
-
Method Details
-
getPublicationDateReference
The reference date to use as cutoff when selecting failedEventPublications, i.e. only older publications will be selected.- Returns:
- can be null.
-
withPublicationsPublishedBefore
-
getMaxItemsToRead
public long getMaxItemsToRead()The number ofEventPublications to read. Return -1 to indicate you want to read all items. -
withItemsToRead
-