org.apache.flume.instrumentation
Class SinkCounter
java.lang.Object
   org.apache.flume.instrumentation.MonitoredCounterGroup
org.apache.flume.instrumentation.MonitoredCounterGroup
       org.apache.flume.instrumentation.SinkCounter
org.apache.flume.instrumentation.SinkCounter
- All Implemented Interfaces: 
- SinkCounterMBean
- Direct Known Subclasses: 
- KafkaSinkCounter
- public class SinkCounter 
- extends MonitoredCounterGroup- implements SinkCounterMBean
 
 
 
 
 
 
 
SinkCounter
public SinkCounter(String name)
SinkCounter
public SinkCounter(String name,
                   String[] attributes)
getConnectionCreatedCount
public long getConnectionCreatedCount()
- 
- Specified by:
- getConnectionCreatedCountin interface- SinkCounterMBean
 
- 
 
incrementConnectionCreatedCount
public long incrementConnectionCreatedCount()
- 
 
- 
 
getConnectionClosedCount
public long getConnectionClosedCount()
- 
- Specified by:
- getConnectionClosedCountin interface- SinkCounterMBean
 
- 
 
incrementConnectionClosedCount
public long incrementConnectionClosedCount()
- 
 
- 
 
getConnectionFailedCount
public long getConnectionFailedCount()
- 
- Specified by:
- getConnectionFailedCountin interface- SinkCounterMBean
 
- 
 
incrementConnectionFailedCount
public long incrementConnectionFailedCount()
- 
 
- 
 
getBatchEmptyCount
public long getBatchEmptyCount()
- 
- Specified by:
- getBatchEmptyCountin interface- SinkCounterMBean
 
- 
 
incrementBatchEmptyCount
public long incrementBatchEmptyCount()
- 
 
- 
 
getBatchUnderflowCount
public long getBatchUnderflowCount()
- 
- Specified by:
- getBatchUnderflowCountin interface- SinkCounterMBean
 
- 
 
incrementBatchUnderflowCount
public long incrementBatchUnderflowCount()
- 
 
- 
 
getBatchCompleteCount
public long getBatchCompleteCount()
- 
- Specified by:
- getBatchCompleteCountin interface- SinkCounterMBean
 
- 
 
incrementBatchCompleteCount
public long incrementBatchCompleteCount()
- 
 
- 
 
getEventDrainAttemptCount
public long getEventDrainAttemptCount()
- 
- Specified by:
- getEventDrainAttemptCountin interface- SinkCounterMBean
 
- 
 
incrementEventDrainAttemptCount
public long incrementEventDrainAttemptCount()
- 
 
- 
 
addToEventDrainAttemptCount
public long addToEventDrainAttemptCount(long delta)
- 
 
- 
 
getEventDrainSuccessCount
public long getEventDrainSuccessCount()
- 
- Specified by:
- getEventDrainSuccessCountin interface- SinkCounterMBean
 
- 
 
incrementEventDrainSuccessCount
public long incrementEventDrainSuccessCount()
- 
 
- 
 
addToEventDrainSuccessCount
public long addToEventDrainSuccessCount(long delta)
- 
 
- 
 
Copyright © 2009-2015 Apache Software Foundation. All Rights Reserved.