373374375376377378379380381382383
for (String fileName : fileNames) { SequentialFile file = fileFactory.createSequentialFile(fileName, filesRepository.getMaxAIO()); file.open(1, false); try { JournalFileImpl jrnFile = readFileHeader(file);
321322323324325326327328329330331
{ SequentialFile copyTo = createFile(); try { this.pendingRecordID = storageManager.storePendingLargeMessage(this.messageID); copyTo.open(); pendingCopy.open(); pendingCopy.copyTo(copyTo); } finally {
26642665266626672668266926702671267226732674
{ long newFileID = generateFileID(); SequentialFile sf = file.getFile(); sf.open(1, false); int position = initFileHeader(this.fileFactory, sf, userVersion, newFileID); JournalFile jf = new JournalFileImpl(sf, newFileID);
27662767276827692770277127722773277427752776
for (String fileName : fileNames) { SequentialFile file = fileFactory.createSequentialFile(fileName, maxAIO); file.open(1, false); try { long fileID = readFileHeader(file);
30193020302130223023302430253026302730283029
String tmpFileName = fileName + ".tmp"; SequentialFile sequentialFile = fileFactory.createSequentialFile(tmpFileName, maxAIO); sequentialFile.open(1, false); if (init) { sequentialFile.fill(0, fileSize, JournalImpl.FILL_CHARACTER);
30383039304030413042304330443045304630473048
if (keepOpened) { if (multiAIO) { sequentialFile.open(); } else { sequentialFile.open(1, false); }
30423043304430453046304730483049305030513052
{ sequentialFile.open(); } else { sequentialFile.open(1, false); } sequentialFile.position(position); } return new JournalFileImpl(sequentialFile, fileID);
396397398399400401402403404405406
28632864286528662867286828692870287128722873
31673168316931703171317231733174317531763177