org.apache.flume.instrumentation.kafka
Class KafkaSinkCounter
java.lang.Object
org.apache.flume.instrumentation.MonitoredCounterGroup
org.apache.flume.instrumentation.SinkCounter
org.apache.flume.instrumentation.kafka.KafkaSinkCounter
- All Implemented Interfaces:
- KafkaSinkCounterMBean, SinkCounterMBean
public class KafkaSinkCounter
- extends SinkCounter
- implements KafkaSinkCounterMBean
Methods inherited from class org.apache.flume.instrumentation.SinkCounter |
addToEventDrainAttemptCount, addToEventDrainSuccessCount, getBatchCompleteCount, getBatchEmptyCount, getBatchUnderflowCount, getConnectionClosedCount, getConnectionCreatedCount, getConnectionFailedCount, getEventDrainAttemptCount, getEventDrainSuccessCount, incrementBatchCompleteCount, incrementBatchEmptyCount, incrementBatchUnderflowCount, incrementConnectionClosedCount, incrementConnectionCreatedCount, incrementConnectionFailedCount, incrementEventDrainAttemptCount, incrementEventDrainSuccessCount |
Methods inherited from interface org.apache.flume.instrumentation.kafka.KafkaSinkCounterMBean |
getBatchCompleteCount, getBatchEmptyCount, getBatchUnderflowCount, getConnectionClosedCount, getConnectionCreatedCount, getConnectionFailedCount, getEventDrainAttemptCount, getEventDrainSuccessCount, getStartTime, getStopTime, getType |
KafkaSinkCounter
public KafkaSinkCounter(String name)
addToKafkaEventSendTimer
public long addToKafkaEventSendTimer(long delta)
incrementRollbackCount
public long incrementRollbackCount()
getKafkaEventSendTimer
public long getKafkaEventSendTimer()
- Specified by:
getKafkaEventSendTimer
in interface KafkaSinkCounterMBean
getRollbackCount
public long getRollbackCount()
- Specified by:
getRollbackCount
in interface KafkaSinkCounterMBean
Copyright © 2009-2015 Apache Software Foundation. All Rights Reserved.