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, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getStartTime, getStopTime, getType
public SourceCounter(String name)
public long getEventReceivedCount()
getEventReceivedCount
in interface SourceCounterMBean
public long incrementEventReceivedCount()
public long addToEventReceivedCount(long delta)
public long getEventAcceptedCount()
getEventAcceptedCount
in interface SourceCounterMBean
public long incrementEventAcceptedCount()
public long addToEventAcceptedCount(long delta)
public long getAppendReceivedCount()
getAppendReceivedCount
in interface SourceCounterMBean
public long incrementAppendReceivedCount()
public long getAppendAcceptedCount()
getAppendAcceptedCount
in interface SourceCounterMBean
public long incrementAppendAcceptedCount()
public long getAppendBatchReceivedCount()
getAppendBatchReceivedCount
in interface SourceCounterMBean
public long incrementAppendBatchReceivedCount()
public long getAppendBatchAcceptedCount()
getAppendBatchAcceptedCount
in interface SourceCounterMBean
public long incrementAppendBatchAcceptedCount()
public long getOpenConnectionCount()
getOpenConnectionCount
in interface SourceCounterMBean
public void setOpenConnectionCount(long openConnectionCount)
public long incrementEventReadFail()
public long getEventReadFail()
getEventReadFail
in interface SourceCounterMBean
public long incrementChannelWriteFail()
public long getChannelWriteFail()
getChannelWriteFail
in interface SourceCounterMBean
public long incrementGenericProcessingFail()
public long getGenericProcessingFail()
getGenericProcessingFail
in interface SourceCounterMBean
public long incrementEventReadOrChannelFail(Throwable t)
Copyright © 2009–2019 Apache Software Foundation. All rights reserved.