public void closeWorkflow(EsperTuple et) {
   et.end();
   completedWorkflows.getAndIncrement();
   stats.addStat(VoterConstants.WORKFLOW_KEY, et.tupleStartTime, et.endTime);
 }
 public void closeWorkflow(long startTime, long endTime) {
   completedWorkflows.getAndIncrement();
   stats.addStat(VoterConstants.WORKFLOW_KEY, startTime, endTime);
 }