public void start() { assert (state == START); numTuplesSent = 0; startTime = System.currentTimeMillis(); state = RUNNING; intervalStartTime = startTime; intervalNumTuplesSent = 0; lastOutputTs = 0; sendSchema(); timer = new Timer(); timer.schedule(new FeederTask(), 1, SLEEP_TIME); }