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, incrementEventWriteOrChannelFailaddAndGet, get, getStartTime, getStopTime, getType, increment, set, start, stop, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetBatchCompleteCount, getBatchEmptyCount, getBatchUnderflowCount, getConnectionClosedCount, getConnectionCreatedCount, getConnectionFailedCount, getEventDrainAttemptCount, getEventDrainSuccessCount, getStartTime, getStopTime, getTypegetStartTime, getStopTime, getTypepublic KafkaSinkCounter(String name)
public long addToKafkaEventSendTimer(long delta)
public long incrementRollbackCount()
public long getKafkaEventSendTimer()
getKafkaEventSendTimer in interface KafkaSinkCounterMBeanpublic long getRollbackCount()
getRollbackCount in interface KafkaSinkCounterMBeanCopyright © 2009-2022 Apache Software Foundation. All Rights Reserved.