Javadoc
This is utility function that converts
OperationMetrics to
ProcedureMetrics.
NOTE: Procedure framework in hbase-procedure module accesses metrics common to most procedures
through
ProcedureMetrics interface. Metrics source classes in hbase-hadoop-compat
module provides similar interface
OperationMetrics that contains metrics common to
most operations. As both hbase-procedure and hbase-hadoop-compat are lower level modules used
by hbase-server (this) module and there is no dependency between them, this method does the
required conversion.