Class ProcessBufferProcessor
java.lang.Object
org.graylog2.shared.buffers.processors.ProcessBufferProcessor
- All Implemented Interfaces:
WorkHandler<MessageEvent>
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionProcessBufferProcessor(com.codahale.metrics.MetricRegistry metricRegistry, OrderedMessageProcessors orderedMessageProcessors, OutputBuffer outputBuffer, ProcessingStatusRecorder processingStatusRecorder, MessageULIDGenerator messageULIDGenerator, DecodingProcessor decodingProcessor, jakarta.inject.Provider<Stream> defaultStreamProvider, FailureSubmissionService failureSubmissionService, StreamMetrics streamMetrics, ClusterConfigService clusterConfigService, com.google.common.eventbus.EventBus eventBus) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidonEvent(MessageEvent event) voidCalled once just before the thread is shutdown.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.graylog2.shared.buffers.WorkHandler
onStart
-
Constructor Details
-
Method Details
-
onEvent
- Specified by:
onEventin interfaceWorkHandler<MessageEvent>- Throws:
Exception
-
getCurrentMessage
-
getTimeStampGracePeriod
-
handleGracePeriodUpdated
-
onShutdown
public void onShutdown()Description copied from interface:WorkHandlerCalled once just before the thread is shutdown.
Sequence event processing will already have stopped before this method is called. No events will be processed after this message.
- Specified by:
onShutdownin interfaceWorkHandler<MessageEvent>
-