@Test public void testFilterTimer() { MetricFilter filter = new MetricFilterBuilder().filterTimer().build(); Assert.assertFalse(filter.matches(null, new Timer())); Assert.assertTrue(filter.matches(null, new Meter())); }
public MetricFilterBuilder filterTimer() { this.filterTimer = true; return this; }
MetricFilterBuilder { public MetricFilterBuilder filterTimer() { this.filterTimer = true; return this; } }
MetricFilterBuilder { public MetricFilterBuilder filterTimer() { this.filterTimer = true; return this; }  }
MetricFilterBuilder { public MetricFilterBuilder filterTimer() { this.filterTimer = true; return this; }  MetricFilterBuilder filterCountZero(); MetricFilterBuilder filterMetricName(String name); MetricFilterBuilder filterTimer(); MetricFilter build(); }
MetricFilterBuilder { public MetricFilterBuilder filterTimer() { this.filterTimer = true; return this; }  MetricFilterBuilder filterCountZero(); MetricFilterBuilder filterMetricName(String name); MetricFilterBuilder filterTimer(); MetricFilter build();  }