Class ExceptionRecordQueueConveyor
java.lang.Object
io.datarouter.conveyor.BaseConveyor
io.datarouter.conveyor.queue.BaseGroupQueueConsumerConveyor<ExceptionRecordKey,ExceptionRecord>
io.datarouter.exception.conveyors.ExceptionRecordQueueConveyor
- All Implemented Interfaces:
io.datarouter.conveyor.Conveyor,Comparable<io.datarouter.conveyor.Conveyor>,Runnable
@Singleton public class ExceptionRecordQueueConveyor extends io.datarouter.conveyor.queue.BaseGroupQueueConsumerConveyor<ExceptionRecordKey,ExceptionRecord>
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ExceptionRecordQueueConveyor(String name, Supplier<Boolean> shouldRun, io.datarouter.conveyor.queue.GroupQueueConsumer<ExceptionRecordKey,ExceptionRecord> consumer, io.datarouter.instrumentation.exception.ExceptionRecordPublisher publisher, Supplier<Boolean> compactExceptionLogging, io.datarouter.web.exception.ExceptionRecorder exceptionRecorder) -
Method Summary
Modifier and Type Method Description protected voidprocessDatabeans(List<ExceptionRecord> records)Methods inherited from class io.datarouter.conveyor.queue.BaseGroupQueueConsumerConveyor
processBatch, processDatabeansShouldAckMethods inherited from class io.datarouter.conveyor.BaseConveyor
getName, interrupted, run, shouldRun
-
Constructor Details
-
ExceptionRecordQueueConveyor
@Inject public ExceptionRecordQueueConveyor(String name, Supplier<Boolean> shouldRun, io.datarouter.conveyor.queue.GroupQueueConsumer<ExceptionRecordKey,ExceptionRecord> consumer, io.datarouter.instrumentation.exception.ExceptionRecordPublisher publisher, Supplier<Boolean> compactExceptionLogging, io.datarouter.web.exception.ExceptionRecorder exceptionRecorder)
-
-
Method Details
-
processDatabeans
- Overrides:
processDatabeansin classio.datarouter.conveyor.queue.BaseGroupQueueConsumerConveyor<ExceptionRecordKey,ExceptionRecord>
-