Logo Search packages:      
Sourcecode: hadoop version File versions  Download package

abstract void org::apache::hadoop::mapred::Reporter::incrCounter ( Enum<?>  key,
long  amount 
) [pure virtual]

Increments the counter identified by the key, which can be of any Enum type, by the specified amount.

key key to identify the counter to be incremented. The key can be be any Enum.
amount A non-negative amount by which the counter is to be incremented.

Referenced by org::apache::hadoop::tools::DistCp::CopyFilesMapper::copy(), org::apache::hadoop::tools::DistCp::CopyFilesMapper::map(), and org::apache::hadoop::mapred::lib::MultithreadedMapRunner< K1, V1, K2, V2 >::MapperInvokeRunable::run().

Generated by  Doxygen 1.6.0   Back to index