14761477147814791480148114821483148414851486
// ArrayList was taking too long to delete elements on checkDeleteSize final List<RecordInfo> records = new LinkedList<RecordInfo>(); final int DELETE_FLUSH = 20000; JournalLoadInformation info = load(new LoaderCallback() { Runtime runtime = Runtime.getRuntime(); private void checkDeleteSize() {
2222222322242225222622272228
} } checkReclaimStatus(); return new JournalLoadInformation(records.size(), maxID.longValue()); }
831832833834835836837838839840841
List<PreparedTransactionInfo> preparedTransactions = new ArrayList<PreparedTransactionInfo>(); Map<Long, ServerMessage> messages = new HashMap<Long, ServerMessage>(); JournalLoadInformation info = messageJournal.load(records, preparedTransactions, new LargeMessageTXFailureCallback(messages)); ArrayList<LargeServerMessage> largeMessages = new ArrayList<LargeServerMessage>();
13751376137713781379138013811382138313841385
{ List<RecordInfo> records = new ArrayList<RecordInfo>(); List<PreparedTransactionInfo> preparedTransactions = new ArrayList<PreparedTransactionInfo>(); JournalLoadInformation bindingsInfo = bindingsJournal.load(records, preparedTransactions, null); for (RecordInfo record : records) { long id = record.id;
936937938939940941942943944945946
15871588158915901591159215931594159515961597
879880881882883884885886887888889
14691470147114721473147414751476147714781479
126127128129130131132
} public JournalLoadInformation loadBindingJournal(final List<QueueBindingInfo> queueBindingInfos, final List<GroupingInfo> groupingInfos) throws Exception { return new JournalLoadInformation(); }
299300301302303304305
final Map<Long, Queue> queues, Map<Long, QueueBindingInfo> queueInfos, final Map<SimpleString, List<Pair<byte[], Long>>> duplicateIDMap, Set<Pair<Long, Long>> pendingLM) throws Exception { return new JournalLoadInformation(); }