Class MapRedCounterAdapter

  • All Implemented Interfaces:
    ICounter

    public class MapRedCounterAdapter
    extends Object
    implements ICounter
    Adapt a mapred counter to ICounter
    • Constructor Detail

      • MapRedCounterAdapter

        public MapRedCounterAdapter​(org.apache.hadoop.mapred.Counters.Counter adaptee)
    • Method Detail

      • increment

        public void increment​(long val)
        Specified by:
        increment in interface ICounter
      • getCount

        public long getCount()
        Specified by:
        getCount in interface ICounter