public class SinkCounter extends MonitoredCounterGroup implements SinkCounterMBean
MonitoredCounterGroup.Type| Constructor and Description |
|---|
SinkCounter(String name) |
SinkCounter(String name,
String[] attributes) |
| Modifier and Type | Method and Description |
|---|---|
long |
addToEventDrainAttemptCount(long delta) |
long |
addToEventDrainSuccessCount(long delta) |
long |
getBatchCompleteCount() |
long |
getBatchEmptyCount() |
long |
getBatchUnderflowCount() |
long |
getChannelReadFail() |
long |
getConnectionClosedCount() |
long |
getConnectionCreatedCount() |
long |
getConnectionFailedCount() |
long |
getEventDrainAttemptCount() |
long |
getEventDrainSuccessCount() |
long |
getEventWriteFail() |
long |
incrementBatchCompleteCount() |
long |
incrementBatchEmptyCount() |
long |
incrementBatchUnderflowCount() |
long |
incrementChannelReadFail() |
long |
incrementConnectionClosedCount() |
long |
incrementConnectionCreatedCount() |
long |
incrementConnectionFailedCount() |
long |
incrementEventDrainAttemptCount() |
long |
incrementEventDrainSuccessCount() |
long |
incrementEventWriteFail() |
long |
incrementEventWriteOrChannelFail(Throwable t) |
addAndGet, get, getStartTime, getStopTime, getType, increment, set, start, stop, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetStartTime, getStopTime, getTypepublic SinkCounter(String name)
public long getConnectionCreatedCount()
getConnectionCreatedCount in interface SinkCounterMBeanpublic long incrementConnectionCreatedCount()
public long getConnectionClosedCount()
getConnectionClosedCount in interface SinkCounterMBeanpublic long incrementConnectionClosedCount()
public long getConnectionFailedCount()
getConnectionFailedCount in interface SinkCounterMBeanpublic long incrementConnectionFailedCount()
public long getBatchEmptyCount()
getBatchEmptyCount in interface SinkCounterMBeanpublic long incrementBatchEmptyCount()
public long getBatchUnderflowCount()
getBatchUnderflowCount in interface SinkCounterMBeanpublic long incrementBatchUnderflowCount()
public long getBatchCompleteCount()
getBatchCompleteCount in interface SinkCounterMBeanpublic long incrementBatchCompleteCount()
public long getEventDrainAttemptCount()
getEventDrainAttemptCount in interface SinkCounterMBeanpublic long incrementEventDrainAttemptCount()
public long addToEventDrainAttemptCount(long delta)
public long getEventDrainSuccessCount()
getEventDrainSuccessCount in interface SinkCounterMBeanpublic long incrementEventDrainSuccessCount()
public long addToEventDrainSuccessCount(long delta)
public long incrementEventWriteFail()
public long getEventWriteFail()
getEventWriteFail in interface SinkCounterMBeanpublic long incrementChannelReadFail()
public long getChannelReadFail()
getChannelReadFail in interface SinkCounterMBeanpublic long incrementEventWriteOrChannelFail(Throwable t)
Copyright © 2009-2022 Apache Software Foundation. All Rights Reserved.