TracerClient { public Iterable<Tracer> since(Date end) { checkNotNull(end); return since(end.getTime()); } TracerClient(String instanceName, String zookeepers, String username, String password);  TracerClient(Instance inst, String username, String password);  TracerClient(Connector c); Tracer getTimings(String uuid); List<Tracer> mostRecentTimings(int numberOfTimings); Iterable<Tracer> since(Date end); Iterable<Tracer> since(long timeInMillis); Iterable<Tracer> between(Date start, Date end); Iterable<Tracer> between(Long start, Long end);  }
@Test public void singleSince() throws Exception { Tracer t1 = new Tracer("1"); t1.begin = 10l; t1.addTiming("t1", 5l); AccumuloTraceStore.serialize(t1, con); TracerClient tc = new TracerClient(con); List<Tracer> regions = Lists.newArrayList(tc.since(11)); Assert.assertEquals(0, regions.size()); regions = Lists.newArrayList(tc.since(9)); Assert.assertEquals(1, regions.size()); }