@Test public void shouldReturnValueFromDelegateForOneMinuteRate() throws Exception { setupRateTest(); assertThat(meter.getOneMinuteRate(), is(greaterThan(300.0))); }
@Override public double getOneMinuteRate() { return delegate.getOneMinuteRate(); }
DelegatingDerivingMeter implements DerivingMeter { @Override public double getOneMinuteRate() { return delegate.getOneMinuteRate(); } }
DelegatingDerivingMeter implements DerivingMeter { @Override public double getOneMinuteRate() { return delegate.getOneMinuteRate(); } DelegatingDerivingMeter(Meter delegate); }
DelegatingDerivingMeter implements DerivingMeter { @Override public double getOneMinuteRate() { return delegate.getOneMinuteRate(); } 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 getOneMinuteRate() { return delegate.getOneMinuteRate(); } DelegatingDerivingMeter(Meter delegate); @Override void mark(long currentValue); @Override long getCount(); @Override double getFifteenMinuteRate(); @Override double getFiveMinuteRate(); @Override double getMeanRate(); @Override double getOneMinuteRate();  }