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, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getStartTime, getStopTime, getType
public SinkCounter(String name)
public long getConnectionCreatedCount()
getConnectionCreatedCount
in interface SinkCounterMBean
public long incrementConnectionCreatedCount()
public long getConnectionClosedCount()
getConnectionClosedCount
in interface SinkCounterMBean
public long incrementConnectionClosedCount()
public long getConnectionFailedCount()
getConnectionFailedCount
in interface SinkCounterMBean
public long incrementConnectionFailedCount()
public long getBatchEmptyCount()
getBatchEmptyCount
in interface SinkCounterMBean
public long incrementBatchEmptyCount()
public long getBatchUnderflowCount()
getBatchUnderflowCount
in interface SinkCounterMBean
public long incrementBatchUnderflowCount()
public long getBatchCompleteCount()
getBatchCompleteCount
in interface SinkCounterMBean
public long incrementBatchCompleteCount()
public long getEventDrainAttemptCount()
getEventDrainAttemptCount
in interface SinkCounterMBean
public long incrementEventDrainAttemptCount()
public long addToEventDrainAttemptCount(long delta)
public long getEventDrainSuccessCount()
getEventDrainSuccessCount
in interface SinkCounterMBean
public long incrementEventDrainSuccessCount()
public long addToEventDrainSuccessCount(long delta)
public long incrementEventWriteFail()
public long getEventWriteFail()
getEventWriteFail
in interface SinkCounterMBean
public long incrementChannelReadFail()
public long getChannelReadFail()
getChannelReadFail
in interface SinkCounterMBean
public long incrementEventWriteOrChannelFail(Throwable t)
Copyright © 2009–2019 Apache Software Foundation. All rights reserved.