public static AsmCounter registerWorkerCounter ( String topologyId , String name , AsmCounter counter ) { return ( AsmCounter ) registerWorkerMetric ( MetricUtils . workerMetricName ( topologyId , host , 0 , name , MetricType . COUNTER ) , counter ) ; }
simplified helper method to register a worker counter