org.apache.blur.mapreduce.lib
Class RateCounter
java.lang.Object
org.apache.blur.mapreduce.lib.RateCounter
public class RateCounter
- extends Object
This turns a standard hadoop counter into a rate counter.
Constructor Summary |
RateCounter(org.apache.hadoop.mapreduce.Counter counter)
|
RateCounter(org.apache.hadoop.mapreduce.Counter counter,
TimeUnit unit,
long reportTime)
|
RateCounter
public RateCounter(org.apache.hadoop.mapreduce.Counter counter)
RateCounter
public RateCounter(org.apache.hadoop.mapreduce.Counter counter,
TimeUnit unit,
long reportTime)
mark
public void mark()
mark
public void mark(long n)
close
public void close()
Copyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.