Package nexj.core.rpc.file.ra.tx

Examples of nexj.core.rpc.file.ra.tx.FileJournalRecordCopyInsert


                     info.getTargetFile()
                     );
               }
               else
               {
                  operationRecord = new FileJournalRecordCopyInsert(xid,
                     info.getStageOneFile().getAbsolutePath(),
                     info.getStageTwoFile().getAbsolutePath(),
                     info.getStageOneLockableFile(),
                     info.getTargetFile()
                     );
View Full Code Here


                  break;
                 
                 
               case FileJournalRecordCopyInsert.OPCODE:
                  //CREATE and OUTGOING
                  FileJournalRecordCopyInsert copyInsert = (FileJournalRecordCopyInsert)opRecord;
                  srcFile = new File(copyInsert.getSourceFilePath());
                  dstFile = new File(copyInsert.getDestinationFilePath());
                  src = copyInsert.getSourceFileHandle();
                  dst = copyInsert.getDestinationFileHandle();
                 
                  if (!bRecovery)
                  {
                     if (src != null)
                     {
View Full Code Here

     
      //Make appropriate journal entry. (File, STATUS_READY)
      PersistentJournal pJournal = PersistentJournal.makeJournal(m_outgoingJournal);
      MemoryJournal journal = pJournal.getJournal(makeXid(7));
     
      journal.addRecord(new FileJournalRecordCopyInsert(makeXid(7),
         new File(m_outgoingTempDirectory, "outgoing.txt").getAbsolutePath(),
         new File(m_outgoingDirectory, "outgoing.txt").getAbsolutePath(),
         null, null));
     
      journal.addRecord(new FileJournalRecordMkTemp(makeXid(7),
View Full Code Here

TOP

Related Classes of nexj.core.rpc.file.ra.tx.FileJournalRecordCopyInsert

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.