14911492149314941495149614971498149915001501
// 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() {
2224222522262227222822292230
} } checkReclaimStatus(); return new JournalLoadInformation(records.size(), maxID.longValue()); }
1190119111921193119411951196
* @see org.hornetq.core.persistence.StorageManager#loadBindingJournal(java.util.List) */ public JournalLoadInformation loadBindingJournal(final List<QueueBindingInfo> queueBindingInfos, final List<GroupingInfo> groupingInfos) throws Exception { return new JournalLoadInformation(); }
1218121912201221122212231224
final Map<Long, Queue> queues, Map<Long, QueueBindingInfo> queueInfos, final Map<SimpleString, List<Pair<byte[], Long>>> duplicateIDMap, Set<Pair<Long, Long>> pendingLargeMessages) throws Exception { return new JournalLoadInformation(); }
902903904905906907908909910911912
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>();
14951496149714981499150015011502150315041505
{ 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;
62636465666768697071
journalInformation = new JournalLoadInformation[numberOfJournals]; for (int i = 0; i < numberOfJournals; i++) { journalInformation[i] = new JournalLoadInformation(); journalInformation[i].setNumberOfRecords(buffer.readInt()); journalInformation[i].setMaxID(buffer.readLong()); } }
14801481148214831484148514861487148814891490
Map<Long, ServerMessage> messages = new HashMap<Long, ServerMessage>(); readLock(); try { JournalLoadInformation info = messageJournal.load(records, preparedTransactions, new LargeMessageTXFailureCallback(messages)); ArrayList<LargeServerMessage> largeMessages = new ArrayList<LargeServerMessage>();
21242125212621272128212921302131213221332134
13191320132113221323132413251326132713281329