@ Override public synchronized boolean remove ( String name ) { MetricContext metricContext = this . metricContext . get ( ) ; if ( metricContext != null ) { metricContext . removeFromMetrics ( this . contextAwareMetrics . get ( name ) . getContextAwareMetric ( ) ) ; } return this . contextAwareMetrics . remove ( name ) != null && removeChildrenMetrics ( name ) ; }
Remove a metric with a given name .