Class RowStatisticsEventHandler
java.lang.Object
org.apache.hadoop.hbase.coprocessor.example.row.stats.ringbuffer.RowStatisticsEventHandler
- All Implemented Interfaces:
com.lmax.disruptor.EventHandler<RowStatisticsRingBufferEnvelope>
@Private
public class RowStatisticsEventHandler
extends Object
implements com.lmax.disruptor.EventHandler<RowStatisticsRingBufferEnvelope>
-
Field Summary
Modifier and TypeFieldDescriptionprivate final BufferedMutator
private static final org.slf4j.Logger
private final Counter
-
Constructor Summary
ConstructorDescriptionRowStatisticsEventHandler
(BufferedMutator bufferedMutator, Counter rowStatisticsPutFailures) -
Method Summary
Modifier and TypeMethodDescriptionvoid
onEvent
(RowStatisticsRingBufferEnvelope event, long sequence, boolean endOfBatch)
-
Field Details
-
LOG
-
bufferedMutator
-
rowStatisticsPutFailures
-
-
Constructor Details
-
RowStatisticsEventHandler
-
-
Method Details
-
onEvent
public void onEvent(RowStatisticsRingBufferEnvelope event, long sequence, boolean endOfBatch) throws Exception - Specified by:
onEvent
in interfacecom.lmax.disruptor.EventHandler<RowStatisticsRingBufferEnvelope>
- Throws:
Exception
-