Interface QueueRunner
-
- All Known Implementing Classes:
BaseQueueRunner
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface QueueRunnerИнтерфейс обработчика пула задач очереди- Since:
- 16.07.2017
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classQueueRunner.FactoryФабрика исполнителей задач в очереди
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description QueueProcessingStatusrunQueue(QueueConsumer queueConsumer)Единократно обработать заданную очередь
-
-
-
Method Detail
-
runQueue
@Nonnull QueueProcessingStatus runQueue(@Nonnull QueueConsumer queueConsumer)
Единократно обработать заданную очередь- Parameters:
queueConsumer- очередь для обработки- Returns:
- тип результата выполнения задачи
-
-