SampledQuantile { public void addSample(long l) { addSample(l, System.currentTimeMillis()); } SampledQuantile();  SampledQuantile(int maxSamples);  SampledQuantile(long windowLength, TimeUnit units);  SampledQuantile(int maxSamples, long windowLength, TimeUnit units);   SampledQuantile(int maxSamples, long windowLength, TimeUnit units, long now); long getMedian(); long getPercentile(int i); long getQuantile(int k, int q); int getNumSamples(); void addSample(long l);  }
@Test public void canSpecifyCurrentTimeWhenAddingSample() { impl.addSample(41, System.currentTimeMillis()); }