public class KafkaSourceCounter extends SourceCounter implements KafkaSourceCounterMBean
MonitoredCounterGroup.Type
Constructor and Description |
---|
KafkaSourceCounter(String name) |
Modifier and Type | Method and Description |
---|---|
long |
addToKafkaCommitTimer(long delta) |
long |
addToKafkaEventGetTimer(long delta) |
long |
getKafkaCommitTimer() |
long |
getKafkaEmptyCount() |
long |
getKafkaEventGetTimer() |
long |
incrementKafkaEmptyCount() |
addToEventAcceptedCount, addToEventReceivedCount, getAppendAcceptedCount, getAppendBatchAcceptedCount, getAppendBatchReceivedCount, getAppendReceivedCount, getChannelWriteFail, getEventAcceptedCount, getEventReadFail, getEventReceivedCount, getGenericProcessingFail, getOpenConnectionCount, incrementAppendAcceptedCount, incrementAppendBatchAcceptedCount, incrementAppendBatchReceivedCount, incrementAppendReceivedCount, incrementChannelWriteFail, incrementEventAcceptedCount, incrementEventReadFail, incrementEventReadOrChannelFail, incrementEventReceivedCount, incrementGenericProcessingFail, setOpenConnectionCount
addAndGet, get, getStartTime, getStopTime, getType, increment, set, start, stop, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAppendAcceptedCount, getAppendBatchAcceptedCount, getAppendBatchReceivedCount, getAppendReceivedCount, getEventAcceptedCount, getEventReceivedCount, getOpenConnectionCount, getStartTime, getStopTime, getType
getStartTime, getStopTime, getType
public KafkaSourceCounter(String name)
public long addToKafkaEventGetTimer(long delta)
public long addToKafkaCommitTimer(long delta)
public long incrementKafkaEmptyCount()
public long getKafkaCommitTimer()
getKafkaCommitTimer
in interface KafkaSourceCounterMBean
public long getKafkaEventGetTimer()
getKafkaEventGetTimer
in interface KafkaSourceCounterMBean
public long getKafkaEmptyCount()
getKafkaEmptyCount
in interface KafkaSourceCounterMBean
Copyright © 2009–2019 Apache Software Foundation. All rights reserved.