@Singleton public class LocalKafkaMessageQueueReader extends AbstractMessageQueueReader
MessageQueueReader.Metrics| Constructor and Description |
|---|
LocalKafkaMessageQueueReader(Journal journal,
ProcessBuffer processBuffer,
Semaphore journalFilled,
com.codahale.metrics.MetricRegistry metricRegistry,
com.google.common.eventbus.EventBus eventBus,
MessageQueueReader.Metrics readerMetrics) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
run() |
protected void |
shutDown() |
protected void |
startUp() |
protected void |
triggerShutdown() |
listenForLifecycleChanges, shouldBeReadingaddListener, awaitRunning, awaitRunning, awaitTerminated, awaitTerminated, executor, failureCause, isRunning, serviceName, startAsync, state, stopAsync, toString@Inject public LocalKafkaMessageQueueReader(Journal journal, ProcessBuffer processBuffer, @Named(value="JournalSignal") Semaphore journalFilled, com.codahale.metrics.MetricRegistry metricRegistry, com.google.common.eventbus.EventBus eventBus, MessageQueueReader.Metrics readerMetrics)
protected void startUp()
throws Exception
startUp in class AbstractMessageQueueReaderExceptionprotected void shutDown()
throws Exception
shutDown in class AbstractMessageQueueReaderExceptionprotected void triggerShutdown()
triggerShutdown in class com.google.common.util.concurrent.AbstractExecutionThreadServiceCopyright © 2012–2021 Graylog, Inc.. All rights reserved.