@Test public void shouldReturnValueFromDelegateForMeanRate() throws Exception { setupRateTest(); assertThat(meter.getMeanRate(), is(greaterThan(300.0))); }
@Override public double getMeanRate() { return delegate.getMeanRate(); }
DelegatingDerivingMeter implements DerivingMeter { @Override public double getMeanRate() { return delegate.getMeanRate(); } }
DelegatingDerivingMeter implements DerivingMeter { @Override public double getMeanRate() { return delegate.getMeanRate(); } DelegatingDerivingMeter(Meter delegate); }
DelegatingDerivingMeter implements DerivingMeter { @Override public double getMeanRate() { return delegate.getMeanRate(); } DelegatingDerivingMeter(Meter delegate); @Override void mark(long currentValue); @Override long getCount(); @Override double getFifteenMinuteRate(); @Override double getFiveMinuteRate(); @Override double getMeanRate(); @Override double getOneMinuteRate(); }
DelegatingDerivingMeter implements DerivingMeter { @Override public double getMeanRate() { return delegate.getMeanRate(); } DelegatingDerivingMeter(Meter delegate); @Override void mark(long currentValue); @Override long getCount(); @Override double getFifteenMinuteRate(); @Override double getFiveMinuteRate(); @Override double getMeanRate(); @Override double getOneMinuteRate();  }