private final static Logger log = LoggerFactory.getLogger(TransactionTableModel.class);
protected List tLogs = new ArrayList();
protected void readFullTransactionLog(File filename) throws IOException {
TransactionLogCursor tlis = new TransactionLogCursor(filename);
int count=0;
try {
while (true) {
TransactionLogRecord tlog = tlis.readLog(true);
if (tlog == null)
break;
if (!acceptLog(tlog))
continue;
tLogs.add(tlog);
count++;
}
}
finally {
tlis.close();
if (log.isDebugEnabled()) log.debug("read " + count + " transaction logs");
}
}