public void testProbabilitySamplerSink() throws IOException,
InterruptedException {
System.out.println("Probability sampler");
long historyLen = 300;
ScheduledHistoryReporter<CounterSink> hist = new ScheduledHistoryReporter<CounterSink>(
"test", longwait, historyLen, new DumbTagger()) {
@Override
public CounterSink newSink(Tagger format) throws IOException {
CounterSink count = new CounterSink("count") {
public void append(Event e) throws IOException, InterruptedException {