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, getConnectionClosedCount, getConnectionCreatedCount, getConnectionFailedCount, getEventDrainAttemptCount, getEventDrainSuccessCount, incrementBatchCompleteCount, incrementBatchEmptyCount, incrementBatchUnderflowCount, incrementConnectionClosedCount, incrementConnectionCreatedCount, incrementConnectionFailedCount, incrementEventDrainAttemptCount, incrementEventDrainSuccessCountaddAndGet, 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-2017 Apache Software Foundation. All Rights Reserved.