public class KafkaSinkCounter extends SinkCounter implements KafkaSinkCounterMBean
MonitoredCounterGroup.Type
Constructor and Description |
---|
KafkaSinkCounter(String name) |
Modifier and Type | Method and Description |
---|---|
long |
addToKafkaEventSendTimer(long delta) |
long |
getKafkaEventSendTimer() |
long |
getRollbackCount() |
long |
incrementRollbackCount() |
addToEventDrainAttemptCount, addToEventDrainSuccessCount, getBatchCompleteCount, getBatchEmptyCount, getBatchUnderflowCount, getChannelReadFail, getConnectionClosedCount, getConnectionCreatedCount, getConnectionFailedCount, getEventDrainAttemptCount, getEventDrainSuccessCount, getEventWriteFail, incrementBatchCompleteCount, incrementBatchEmptyCount, incrementBatchUnderflowCount, incrementChannelReadFail, incrementConnectionClosedCount, incrementConnectionCreatedCount, incrementConnectionFailedCount, incrementEventDrainAttemptCount, incrementEventDrainSuccessCount, incrementEventWriteFail, incrementEventWriteOrChannelFail
addAndGet, get, getStartTime, getStopTime, getType, increment, set, start, stop, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getBatchCompleteCount, getBatchEmptyCount, getBatchUnderflowCount, getConnectionClosedCount, getConnectionCreatedCount, getConnectionFailedCount, getEventDrainAttemptCount, getEventDrainSuccessCount, getStartTime, getStopTime, getType
getStartTime, getStopTime, getType
public KafkaSinkCounter(String name)
public long addToKafkaEventSendTimer(long delta)
public long incrementRollbackCount()
public long getKafkaEventSendTimer()
getKafkaEventSendTimer
in interface KafkaSinkCounterMBean
public long getRollbackCount()
getRollbackCount
in interface KafkaSinkCounterMBean
Copyright © 2009–2019 Apache Software Foundation. All rights reserved.