Package eu.planets_project.services.utils

Examples of eu.planets_project.services.utils.ServicePerformanceHelper.stop()


            sr = new ServiceReport(ServiceReport.Type.INFO, ServiceReport.Status.SUCCESS,
                    "Comparison succeeded.", sph.getPerformanceProperties() );
        }
       
        // Halt performance measurement:
        sph.stop();

        // Return the result:
        return new CompareResult( props, sr );
    }
   
View Full Code Here


  for (Parameter serviceParameter : toolParameters) {
      eventSummary += serviceParameter.getName() + " = "
        + serviceParameter.getValue() + "\n";
  }

  servicePerformanceHelper.stop();

  // Add information about the migration event to the digital object.
  final DateFormat defaultDateFormat = DateFormat.getDateInstance();
  final Event event = new Event(eventSummary, defaultDateFormat
    .format(migrationStartTime), migrationDuration, agent,
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.