_log = new TTLogImpl(logname, subid, accesskey);
if (_inStreamInput != null) {
_inStreamInput.close();
}
TTQueueCluster qc = new TTQueueClusterImpl(_log.getName(), _log.getSubid(), _log.getFilter(), _log.getAccesskey());
int partitionCount = qc.getQueues().length;
int[][] inputIndicesList = this.groupIntegers(partitionCount, readerCount);
int[] inputIndices = inputIndicesList[readerIndex];
LOG.info("TimeTunnel init prepare partitionCount:"+partitionCount+", readerCount:"+readerCount+", readerIndex:"+readerIndex+","+String.valueOf(inputIndices));
_inStreamInput = new TTLogSimpleInput(_log, curTime, inputIndices);