MAPREDUCE-3935. Annotate Counters.Counter and Counters.Group as @Public.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1296523 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Thomas White 2012-03-03 00:08:58 +00:00
parent 99bf2902b2
commit ce11ff73db
2 changed files with 7 additions and 0 deletions

View File

@ -47,6 +47,9 @@ Trunk (unreleased changes)
MAPREDUCE-3956. Remove the use of the deprecated Syncable.sync() method from
TeraOutputFormat in the terasort example. (szetszwo)
MAPREDUCE-3935. Annotate Counters.Counter and Counters.Group as @Public.
(tomwhite)
BUG FIXES
MAPREDUCE-3757. [Rumen] Fixed Rumen Folder to adjust shuffleFinished and

View File

@ -96,6 +96,8 @@ public class Counters
/**
* A counter record, comprising its name and value.
*/
@InterfaceAudience.Public
@InterfaceStability.Stable
public static class Counter implements org.apache.hadoop.mapreduce.Counter {
org.apache.hadoop.mapreduce.Counter realCounter;
@ -207,6 +209,8 @@ public class Counters
* <p><code>Group</code>handles localization of the class name and the
* counter names.</p>
*/
@InterfaceAudience.Public
@InterfaceStability.Stable
public static class Group implements CounterGroupBase<Counter> {
private CounterGroupBase<Counter> realGroup;