public class SourceCounter extends MonitoredCounterGroup implements SourceCounterMBean
MonitoredCounterGroup.Type| Constructor and Description |
|---|
SourceCounter(String name) |
SourceCounter(String name,
String[] attributes) |
| Modifier and Type | Method and Description |
|---|---|
long |
addToEventAcceptedCount(long delta) |
long |
addToEventReceivedCount(long delta) |
long |
getAppendAcceptedCount() |
long |
getAppendBatchAcceptedCount() |
long |
getAppendBatchReceivedCount() |
long |
getAppendReceivedCount() |
long |
getChannelWriteFail() |
long |
getEventAcceptedCount() |
long |
getEventReadFail() |
long |
getEventReceivedCount() |
long |
getGenericProcessingFail() |
long |
getOpenConnectionCount() |
long |
incrementAppendAcceptedCount() |
long |
incrementAppendBatchAcceptedCount() |
long |
incrementAppendBatchReceivedCount() |
long |
incrementAppendReceivedCount() |
long |
incrementChannelWriteFail() |
long |
incrementEventAcceptedCount() |
long |
incrementEventReadFail() |
long |
incrementEventReadOrChannelFail(Throwable t) |
long |
incrementEventReceivedCount() |
long |
incrementGenericProcessingFail() |
void |
setOpenConnectionCount(long openConnectionCount) |
addAndGet, get, getStartTime, getStopTime, getType, increment, set, start, stop, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetStartTime, getStopTime, getTypepublic SourceCounter(String name)
public long getEventReceivedCount()
getEventReceivedCount in interface SourceCounterMBeanpublic long incrementEventReceivedCount()
public long addToEventReceivedCount(long delta)
public long getEventAcceptedCount()
getEventAcceptedCount in interface SourceCounterMBeanpublic long incrementEventAcceptedCount()
public long addToEventAcceptedCount(long delta)
public long getAppendReceivedCount()
getAppendReceivedCount in interface SourceCounterMBeanpublic long incrementAppendReceivedCount()
public long getAppendAcceptedCount()
getAppendAcceptedCount in interface SourceCounterMBeanpublic long incrementAppendAcceptedCount()
public long getAppendBatchReceivedCount()
getAppendBatchReceivedCount in interface SourceCounterMBeanpublic long incrementAppendBatchReceivedCount()
public long getAppendBatchAcceptedCount()
getAppendBatchAcceptedCount in interface SourceCounterMBeanpublic long incrementAppendBatchAcceptedCount()
public long getOpenConnectionCount()
getOpenConnectionCount in interface SourceCounterMBeanpublic void setOpenConnectionCount(long openConnectionCount)
public long incrementEventReadFail()
public long getEventReadFail()
getEventReadFail in interface SourceCounterMBeanpublic long incrementChannelWriteFail()
public long getChannelWriteFail()
getChannelWriteFail in interface SourceCounterMBeanpublic long incrementGenericProcessingFail()
public long getGenericProcessingFail()
getGenericProcessingFail in interface SourceCounterMBeanpublic long incrementEventReadOrChannelFail(Throwable t)
Copyright © 2009-2022 Apache Software Foundation. All Rights Reserved.