Class DecodingProcessor
java.lang.Object
org.graylog2.shared.buffers.processors.DecodingProcessor
- All Implemented Interfaces:
com.lmax.disruptor.EventHandler<MessageEvent>,com.lmax.disruptor.EventHandlerIdentity
public class DecodingProcessor
extends Object
implements com.lmax.disruptor.EventHandler<MessageEvent>
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionDecodingProcessor(Map<String, Codec.Factory<? extends Codec>> codecFactory, ServerStatus serverStatus, com.codahale.metrics.MetricRegistry metricRegistry, Journal journal, MessageQueueAcknowledger acknowledger, com.codahale.metrics.Timer decodeTime, com.codahale.metrics.Timer parseTime) -
Method Summary
Modifier and TypeMethodDescriptiondefault voidonBatchStart(long arg0, long arg1) voidonEvent(MessageEvent event, long sequence, boolean endOfBatch) default voiddefault voidonStart()default voidonTimeout(long arg0) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.lmax.disruptor.EventHandler
setSequenceCallback
-
Constructor Details
-
Method Details
-
onEvent
- Specified by:
onEventin interfacecom.lmax.disruptor.EventHandler<MessageEvent>- Throws:
Exception
-
onBatchStart
default void onBatchStart(long arg0, long arg1) -
onStart
default void onStart() -
onShutdown
default void onShutdown() -
onTimeout
- Throws:
Exception
-