public class DecodingProcessor extends Object implements com.lmax.disruptor.EventHandler<MessageEvent>
| Modifier and Type | Class and Description |
|---|---|
static interface |
DecodingProcessor.Factory |
| Constructor and Description |
|---|
DecodingProcessor(Map<String,Codec.Factory<? extends Codec>> codecFactory,
ServerStatus serverStatus,
com.codahale.metrics.MetricRegistry metricRegistry,
com.codahale.metrics.Timer decodeTime,
com.codahale.metrics.Timer parseTime) |
| Modifier and Type | Method and Description |
|---|---|
void |
onEvent(MessageEvent event,
long sequence,
boolean endOfBatch) |
public DecodingProcessor(Map<String,Codec.Factory<? extends Codec>> codecFactory, ServerStatus serverStatus, com.codahale.metrics.MetricRegistry metricRegistry, com.codahale.metrics.Timer decodeTime, com.codahale.metrics.Timer parseTime)
public void onEvent(MessageEvent event, long sequence, boolean endOfBatch) throws Exception
onEvent in interface com.lmax.disruptor.EventHandler<MessageEvent>ExceptionCopyright © 2012-2016 Graylog, Inc.. All Rights Reserved.