Examples of addLogInfo()


Examples of com.sleepycat.je.txn.Txn.addLogInfo()

                        /* Database may be null if it's been deleted. */
                        if (db != null) {
                            ln.postFetchInit(db, logLsn);

          if (preparedTxn != null) {
        preparedTxn.addLogInfo(logLsn);

        /*
         * We're reconstructing a prepared, but not
         * finished, transaction.  We know that there
         * was a write lock on this LN since it exists
View Full Code Here

Examples of com.sleepycat.je.txn.Txn.addLogInfo()

                        /* Database may be null if it's been deleted. */
                        if (db != null) {
                            ln.postFetchInit(db, logLsn);

          if (preparedTxn != null) {
        preparedTxn.addLogInfo(logLsn);

        /*
         * We're reconstructing a prepared, but not
         * finished, transaction.  We know that there
         * was a write lock on this LN since it exists
View Full Code Here

Examples of eu.planets_project.ifr.core.wee.api.workflow.WorkflowResultItem.addLogInfo()

      else{
        //get the ones from the ServiceCallConfigs
        migrateToURI = wfi.getServiceCallConfigs(migrationService)
        .getPropertyAsURI(WorkflowTemplate.SER_PARAM_MIGRATE_TO);
      }
      wfResultItem.addLogInfo("set migrate to: " + migrateToURI);
     
      if(this.inputFormat!=null){
        //e.g. when using a identification prior to chose the input format
        migrateFromURI = this.inputFormat;
      }
View Full Code Here

Examples of eu.planets_project.ifr.core.wee.api.workflow.WorkflowResultItem.addLogInfo()

      else{
        //get the ones from the ServiceCallConfigs
        migrateFromURI = wfi.getServiceCallConfigs(migrationService)
        .getPropertyAsURI(WorkflowTemplate.SER_PARAM_MIGRATE_FROM);
      }
      wfResultItem.addLogInfo("set migrate from: " + migrateFromURI);

      if ((migrateToURI == null) && (migrateFromURI == null)) {
        String err = "No parameter for: 'migrate_to/from_filetype' specified";
        wfResultItem.addLogInfo(err);
        throw new Exception(err);
View Full Code Here

Examples of eu.planets_project.ifr.core.wee.api.workflow.WorkflowResultItem.addLogInfo()

      }
      wfResultItem.addLogInfo("set migrate from: " + migrateFromURI);

      if ((migrateToURI == null) && (migrateFromURI == null)) {
        String err = "No parameter for: 'migrate_to/from_filetype' specified";
        wfResultItem.addLogInfo(err);
        throw new Exception(err);
      }

      // document
      wfResultItem.setInputDigitalObjectRef(digOToMigrateRef);
View Full Code Here

Examples of eu.planets_project.ifr.core.wee.api.workflow.WorkflowResultItem.addLogInfo()

      ServiceReport report = migrateResult.getReport();
      // report service status and type
      wfResultItem.setServiceReport(report);
      if (report.getType() == Type.ERROR) {
        String s = "Service execution failed: " + report.getMessage();
        wfResultItem.addLogInfo(s);
        throw new Exception(s);
      }

      DigitalObject migOutput = migrateResult.getDigitalObject();
View Full Code Here

Examples of eu.planets_project.ifr.core.wee.api.workflow.WorkflowResultItem.addLogInfo()

      else{
        //in this case use the default data registry manager location for persisting
        digoRef = wfi.storeDigitalObject(digoUpdated);
      }
     
      wfResultItem.addLogInfo("storing digital object with permanent URI: "
          + digoRef);
      wfResultItem.setOutputDigitalObjectRef(digoRef);
      wfResultItem.addLogInfo("migration completed");

      return digoRef;
View Full Code Here

Examples of eu.planets_project.ifr.core.wee.api.workflow.WorkflowResultItem.addLogInfo()

        // document all general actions for this digital object
        WorkflowResultItem wfResultItem = new WorkflowResultItem(dgoA.getPermanentUri(),
            WorkflowResultItem.GENERAL_WORKFLOW_ACTION, System
                .currentTimeMillis(),this.getWorkflowReportingLogger());
        this.addWFResultItem(wfResultItem);
        wfResultItem.addLogInfo("working on workflow template: "+this.getClass().getName());

        // start executing on digital ObjectA
        this.processingDigo = dgoA;

        try {
View Full Code Here

Examples of eu.planets_project.ifr.core.wee.api.workflow.WorkflowResultItem.addLogInfo()

        // start executing on digital ObjectA
        this.processingDigo = dgoA;

        try {
          // Migrate Object round-trip
            wfResultItem.addLogInfo("starting migration A-B");
          URI dgoB = runMigration(migrate1, dgoA.getPermanentUri(), false);
            wfResultItem.addLogInfo("completed migration A-B");
            wfResultItem.addLogInfo("starting migration B-C");
          URI dgoC = runMigration(migrate2, dgoB, true);
            wfResultItem.addLogInfo("completed migration B-C");
View Full Code Here

Examples of eu.planets_project.ifr.core.wee.api.workflow.WorkflowResultItem.addLogInfo()

        try {
          // Migrate Object round-trip
            wfResultItem.addLogInfo("starting migration A-B");
          URI dgoB = runMigration(migrate1, dgoA.getPermanentUri(), false);
            wfResultItem.addLogInfo("completed migration A-B");
            wfResultItem.addLogInfo("starting migration B-C");
          URI dgoC = runMigration(migrate2, dgoB, true);
            wfResultItem.addLogInfo("completed migration B-C");

          //TODO: use the identification service for data enrichment (e.g. mime type of output object)
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.