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 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
myBlackboardFields inherited from class de.uka.ipd.sdq.workflow.jobs.AbstractCompositeJob
myExecutedJobs, myJobsFields inherited from class de.uka.ipd.sdq.workflow.jobs.AbstractJob
logger -
Constructor Summary
ConstructorsConstructorDescriptionCheckForSLOViolationsJob(RunAnalysisJob runAnalysisJob, org.palladiosimulator.servicelevelobjective.ServiceLevelObjectiveRepository serviceLevelObjectives, EDP2Datasource edp2datasource, String experimentGroupPurpose, String experimentSettingDescription) Default constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(IProgressMonitor monitor) Computes the number of SLO violations and marksthis.runAnalysisJobif at least one was detected.Methods inherited from class de.uka.ipd.sdq.workflow.jobs.SequentialBlackboardInteractingJob
getBlackboard, setBlackboardMethods inherited from class de.uka.ipd.sdq.workflow.jobs.SequentialJob
cleanup, executeWithDelayedCleanUp, executeWithImmediateCleanUpMethods 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, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface de.uka.ipd.sdq.workflow.jobs.IJob
cleanup, getNameMethods inherited from interface java.util.List
replaceAll, sort, spliterator
-
Constructor Details
-
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 Details
-
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.runAnalysisJobif at least one was detected.- Specified by:
executein interfacede.uka.ipd.sdq.workflow.jobs.IJob- Overrides:
executein classde.uka.ipd.sdq.workflow.jobs.SequentialBlackboardInteractingJob<de.uka.ipd.sdq.workflow.mdsd.blackboard.MDSDBlackboard>- Throws:
de.uka.ipd.sdq.workflow.jobs.JobFailedExceptionde.uka.ipd.sdq.workflow.jobs.UserCanceledException
-