public class JournallingMessageHandler extends Object implements com.lmax.disruptor.EventHandler<RawMessageEvent>
| Constructor and Description |
|---|
JournallingMessageHandler(com.codahale.metrics.MetricRegistry metrics,
Journal journal,
ProcessingStatusRecorder processingStatusRecorder,
Semaphore journalFilled) |
| Modifier and Type | Method and Description |
|---|---|
void |
onEvent(RawMessageEvent event,
long sequence,
boolean endOfBatch) |
@Inject
public JournallingMessageHandler(com.codahale.metrics.MetricRegistry metrics,
Journal journal,
ProcessingStatusRecorder processingStatusRecorder,
@Named(value="JournalSignal")
Semaphore journalFilled)
public void onEvent(RawMessageEvent event, long sequence, boolean endOfBatch) throws Exception
onEvent in interface com.lmax.disruptor.EventHandler<RawMessageEvent>ExceptionCopyright © 2012–2020 Graylog, Inc.. All rights reserved.