Class CheckForSLOViolationsJob

  • All Implemented Interfaces:
    de.uka.ipd.sdq.workflow.jobs.IBlackboardInteractingJob<de.uka.ipd.sdq.workflow.mdsd.blackboard.MDSDBlackboard>, de.uka.ipd.sdq.workflow.jobs.ICompositeJob, de.uka.ipd.sdq.workflow.jobs.IJob, Iterable<de.uka.ipd.sdq.workflow.jobs.IJob>, Collection<de.uka.ipd.sdq.workflow.jobs.IJob>, List<de.uka.ipd.sdq.workflow.jobs.IJob>

    public class CheckForSLOViolationsJob
    extends de.uka.ipd.sdq.workflow.jobs.SequentialBlackboardInteractingJob<de.uka.ipd.sdq.workflow.mdsd.blackboard.MDSDBlackboard>
    This jobs checks for SLO violations and calls this.runAnalysisJob.setSloWasViolated() if it was violated at least once. Therefore, such SLO-violating analysis runs are marked.
    • Field Summary

      • Fields inherited from class de.uka.ipd.sdq.workflow.jobs.SequentialBlackboardInteractingJob

        myBlackboard
      • Fields inherited from class de.uka.ipd.sdq.workflow.jobs.AbstractCompositeJob

        myExecutedJobs, myJobs
      • Fields inherited from class de.uka.ipd.sdq.workflow.jobs.AbstractJob

        logger
    • Constructor Summary

      Constructors 
      Constructor Description
      CheckForSLOViolationsJob​(RunAnalysisJob runAnalysisJob, org.palladiosimulator.servicelevelobjective.ServiceLevelObjectiveRepository serviceLevelObjectives, EDP2Datasource edp2datasource, String experimentGroupPurpose, String experimentSettingDescription)
      Default constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void execute​(IProgressMonitor monitor)
      Computes the number of SLO violations and marks this.runAnalysisJob if at least one was detected.
      • Methods inherited from class de.uka.ipd.sdq.workflow.jobs.SequentialBlackboardInteractingJob

        getBlackboard, setBlackboard
      • Methods inherited from class de.uka.ipd.sdq.workflow.jobs.SequentialJob

        cleanup
      • Methods inherited from class de.uka.ipd.sdq.workflow.jobs.AbstractCompositeJob

        add, add, addAll, addAll, addFirst, addJob, addLast, clear, clone, contains, containsAll, descendingIterator, element, equals, get, getFirst, getLast, getName, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, offer, offerFirst, offerLast, peek, peekFirst, peekLast, poll, pollFirst, pollLast, pop, push, remove, remove, remove, removeAll, removeFirst, removeFirstOccurrence, removeLast, removeLastOccurrence, retainAll, set, setName, size, subList, toArray, toArray, toString
      • Methods inherited from interface de.uka.ipd.sdq.workflow.jobs.IJob

        cleanup, getName
    • Constructor Detail

      • CheckForSLOViolationsJob

        public CheckForSLOViolationsJob​(RunAnalysisJob runAnalysisJob,
                                        org.palladiosimulator.servicelevelobjective.ServiceLevelObjectiveRepository serviceLevelObjectives,
                                        EDP2Datasource edp2datasource,
                                        String experimentGroupPurpose,
                                        String experimentSettingDescription)
        Default constructor.
        Parameters:
        runAnalysisJob - the job conducting an analysis and providing measurement results to the persistence framework.
        serviceLevelObjectives - a set of SLOs to be checked for.
        edp2datasource - the EDP2 persistence framework providing measurement data.
        experimentGroupPurpose - the unique name of an experiment run; used to identify the experiment group of the last analysis run.
        experimentSettingDescription - a unique identifier string for the experiment setting description to check SLOs for.
    • Method Detail

      • execute

        public void execute​(IProgressMonitor monitor)
                     throws de.uka.ipd.sdq.workflow.jobs.JobFailedException,
                            de.uka.ipd.sdq.workflow.jobs.UserCanceledException
        Computes the number of SLO violations and marks this.runAnalysisJob if at least one was detected.
        Specified by:
        execute in interface de.uka.ipd.sdq.workflow.jobs.IJob
        Overrides:
        execute in class de.uka.ipd.sdq.workflow.jobs.SequentialBlackboardInteractingJob<de.uka.ipd.sdq.workflow.mdsd.blackboard.MDSDBlackboard>
        Throws:
        de.uka.ipd.sdq.workflow.jobs.JobFailedException
        de.uka.ipd.sdq.workflow.jobs.UserCanceledException