@Override public void removeScope(String scope, StatsLogger statsLogger) { if (!(statsLogger instanceof Two)) { return; } Two another = (Two) statsLogger; first.removeScope(scope, another.first); second.removeScope(scope, another.second); } }
@Override public void removeScope(String scope, StatsLogger statsLogger) { if (!(statsLogger instanceof Two)) { return; } Two another = (Two) statsLogger; first.removeScope(scope, another.first); second.removeScope(scope, another.second); } }
@Override public void removeScope(String name, dlshade.org.apache.bookkeeper.stats.StatsLogger dlShadeStatsLogger) { StatsLogger scopedStatsLogger = statsLoggers.remove(dlShadeStatsLogger); if (null != scopedStatsLogger) { statsLogger.removeScope(name, scopedStatsLogger); } } }