public class KafkaChannelCounter extends ChannelCounter implements KafkaChannelCounterMBean
MonitoredCounterGroup.Type
Constructor and Description |
---|
KafkaChannelCounter(String name) |
Modifier and Type | Method and Description |
---|---|
long |
addToKafkaCommitTimer(long delta) |
long |
addToKafkaEventGetTimer(long delta) |
long |
addToKafkaEventSendTimer(long delta) |
long |
addToRollbackCounter(long delta) |
long |
getKafkaCommitTimer() |
long |
getKafkaEventGetTimer() |
long |
getKafkaEventSendTimer() |
long |
getRollbackCount() |
addToEventPutSuccessCount, addToEventTakeSuccessCount, getChannelCapacity, getChannelFillPercentage, getChannelSize, getEventPutAttemptCount, getEventPutSuccessCount, getEventTakeAttemptCount, getEventTakeSuccessCount, incrementEventPutAttemptCount, incrementEventTakeAttemptCount, setChannelCapacity, setChannelSize
addAndGet, get, getStartTime, getStopTime, getType, increment, set, start, stop, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getChannelCapacity, getChannelFillPercentage, getChannelSize, getEventPutAttemptCount, getEventPutSuccessCount, getEventTakeAttemptCount, getEventTakeSuccessCount, getStartTime, getStopTime, getType
getStartTime, getStopTime, getType
public KafkaChannelCounter(String name)
public long addToKafkaEventGetTimer(long delta)
public long addToKafkaEventSendTimer(long delta)
public long addToKafkaCommitTimer(long delta)
public long addToRollbackCounter(long delta)
public long getKafkaEventGetTimer()
getKafkaEventGetTimer
in interface KafkaChannelCounterMBean
public long getKafkaEventSendTimer()
getKafkaEventSendTimer
in interface KafkaChannelCounterMBean
public long getKafkaCommitTimer()
getKafkaCommitTimer
in interface KafkaChannelCounterMBean
public long getRollbackCount()
getRollbackCount
in interface KafkaChannelCounterMBean
Copyright © 2009–2019 Apache Software Foundation. All rights reserved.