org.apache.flume.instrumentation
Class MonitoredCounterGroup
java.lang.Object
org.apache.flume.instrumentation.MonitoredCounterGroup
- Direct Known Subclasses:
- ChannelCounter, ChannelProcessorCounter, SinkCounter, SinkProcessorCounter, SourceCounter
public abstract class MonitoredCounterGroup
- extends Object
MonitoredCounterGroup
protected MonitoredCounterGroup(MonitoredCounterGroup.Type type,
String name,
String... attrs)
start
public void start()
stop
public void stop()
getStartTime
public long getStartTime()
getStopTime
public long getStopTime()
toString
public final String toString()
- Overrides:
toString
in class Object
get
protected long get(String counter)
set
protected void set(String counter,
long value)
addAndGet
protected long addAndGet(String counter,
long delta)
increment
protected long increment(String counter)
getType
public String getType()
Copyright © 2009-2012 Apache Software Foundation. All Rights Reserved.