CounterGroup (Apache Hadoop MapReduce Common 3.5.0 API)
Description: declaration: package: org.apache.hadoop.mapreduce.v2.api.records, interface: CounterGroup

Package org.apache.hadoop.mapreduce.v2.api.records

# Interface CounterGroup

All Known Implementing Classes:
  `CounterGroupPBImpl`

public interface CounterGroup

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `addAllCounters(Map<String,Counter> counters)`
  `void`
  `clearCounters()`
  `Map<String,Counter>`
  `getAllCounters()`
  `Counter`
  `getCounter(String key)`
  `String`
  `getDisplayName()`
  `String`
  `getName()`
  `void`
  `removeCounter(String key)`
  `void`
  `setCounter(String key, Counter value)`
  `void`
  `setDisplayName(String displayName)`
  `void`
  `setName(String name)`

- ## Method Details

  - ### getName

    String getName()

  - ### getDisplayName

    String getDisplayName()

  - ### getAllCounters

    Map<String,Counter> getAllCounters()

  - ### getCounter

    Counter getCounter(String key)

  - ### setName

    void setName(String name)

  - ### setDisplayName

    void setDisplayName(String displayName)

  - ### addAllCounters

    void addAllCounters(Map<String,Counter> counters)

  - ### setCounter

    void setCounter(String key, Counter value)

  - ### removeCounter

    void removeCounter(String key)

  - ### clearCounters

    void clearCounters()