Created
May 22, 2019 06:44
-
-
Save vmarcinko/8d72301b2baf000a025a9ea29daf1f78 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public interface QueueConsumerModule<ID> { | |
List<ID> findItemIdsWhereQueueingNextAttemptTimeIsBefore(LocalDateTime time, int limit); | |
Optional<QueueingState> getQueueingStateForItem(ID itemId); | |
Optional<QueueingState> processItem(ID itemId); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment