Class CheckForSLOViolationsJob
- java.lang.Object
-
- de.uka.ipd.sdq.workflow.jobs.AbstractJob
-
- de.uka.ipd.sdq.workflow.jobs.AbstractCompositeJob
-
- de.uka.ipd.sdq.workflow.jobs.SequentialJob
-
- de.uka.ipd.sdq.workflow.jobs.SequentialBlackboardInteractingJob<de.uka.ipd.sdq.workflow.mdsd.blackboard.MDSDBlackboard>
-
- org.palladiosimulator.experimentautomation.application.jobs.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 callsthis.runAnalysisJob.setSloWasViolated()
if it was violated at least once. Therefore, such SLO-violating analysis runs are marked.
-
-
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 marksthis.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.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 class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Methods inherited from interface java.util.List
replaceAll, sort, spliterator
-
-
-
-
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 marksthis.runAnalysisJob
if at least one was detected.- Specified by:
execute
in interfacede.uka.ipd.sdq.workflow.jobs.IJob
- Overrides:
execute
in classde.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
-
-