This project has retired. For details please refer to its Attic page.
TestCounters (Apache Crunch 0.10.0 API)

org.apache.crunch.test
Class TestCounters

java.lang.Object
  extended by org.apache.crunch.test.TestCounters

public class TestCounters
extends Object

A utility class used during unit testing to update and read counters.


Constructor Summary
TestCounters()
           
 
Method Summary
static void clearCounters()
           
static org.apache.hadoop.mapreduce.Counter getCounter(Enum<?> e)
           
static org.apache.hadoop.mapreduce.Counter getCounter(String group, String name)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestCounters

public TestCounters()
Method Detail

getCounter

public static org.apache.hadoop.mapreduce.Counter getCounter(Enum<?> e)

getCounter

public static org.apache.hadoop.mapreduce.Counter getCounter(String group,
                                                             String name)

clearCounters

public static void clearCounters()


Copyright © 2014 The Apache Software Foundation. All Rights Reserved.