Class EvlModuleParallelAtoms<A extends EvlAtom<?>>
java.lang.Object
org.eclipse.epsilon.common.module.AbstractModuleElement
org.eclipse.epsilon.eol.AbstractModule
org.eclipse.epsilon.eol.EolModule
org.eclipse.epsilon.erl.ErlModule
org.eclipse.epsilon.evl.EvlModule
org.eclipse.epsilon.evl.concurrent.EvlModuleParallel
org.eclipse.epsilon.evl.concurrent.EvlModuleParallelAtoms<A>
- All Implemented Interfaces:
IModule,ModuleElement,IEolModule,IErlModule,IErlModuleAtomBatches<A>,IEvlModule
- Direct Known Subclasses:
EvlModuleParallelConstraintAtoms,EvlModuleParallelContextAtoms
public abstract class EvlModuleParallelAtoms<A extends EvlAtom<?>>
extends EvlModuleParallel
implements IErlModuleAtomBatches<A>
- Since:
- 1.6
- Author:
- Sina Madani
-
Field Summary
FieldsFields inherited from class org.eclipse.epsilon.evl.concurrent.EvlModuleParallel
CONFIG_PROPERTIESFields inherited from class org.eclipse.epsilon.evl.EvlModule
constraintContexts, constraints, declaredConstraintContexts, fixer, OPTIMIZE_CONSTRAINTSFields inherited from class org.eclipse.epsilon.erl.ErlModule
declaredPost, declaredPre, post, preFields inherited from class org.eclipse.epsilon.eol.EolModule
context, declaredModelDeclarations, declaredOperations, imports, main, modelDeclarations, operations, postOperationStatementsFields inherited from class org.eclipse.epsilon.eol.AbstractModule
parseProblems, parser, sourceFile, sourceUri -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotected -
Method Summary
Modifier and TypeMethodDescriptionprotected voidInvokes the execute() method on all Constraints in all ConstraintContexts.executeAll(ErlContextParallel context) The atomic units of work.Non-cached implementation as called bygetAllJobs().Methods inherited from class org.eclipse.epsilon.evl.concurrent.EvlModuleParallel
configure, getConfigurationProperties, getContext, getImportConfigurationMethods inherited from class org.eclipse.epsilon.evl.EvlModule
adapt, build, createDebugger, createLexer, createParser, execute, getConstraintContexts, getConstraints, getDeclaredConstraintContexts, getMainRule, getOptimisedConstraintsFor, getUnsatisfiedConstraintFixer, isOptimizeConstraints, postExecution, prepareContext, preProcessConstraintContext, processRules, setOptimizeConstraints, setUnsatisfiedConstraintFixerMethods inherited from class org.eclipse.epsilon.erl.ErlModule
calculateSuperRules, execute, execute, executeImpl, getDeclaredPost, getDeclaredPre, getPost, getPre, prepareExecutionMethods inherited from class org.eclipse.epsilon.eol.EolModule
clearCache, getDeclaredModelDeclarations, getDeclaredOperations, getImportManager, getImports, getMain, getModelDeclarations, getOperations, getParentModule, getPostOperationStatements, loadImports, setContext, setImportManager, setMain, setParentModule, toStringMethods inherited from class org.eclipse.epsilon.eol.AbstractModule
assignAnnotations, assignComment, assignComments, createAst, extractComments, getParseProblems, getSourceFile, getSourceUri, invokeMainRule, parse, parseMethods inherited from class org.eclipse.epsilon.common.module.AbstractModuleElement
equals, getChildren, getComments, getData, getDebugInfo, getFile, getModule, getParent, getRegion, getUri, hashCode, setModule, setParent, setRegion, setUriMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.epsilon.eol.IEolModule
configure, createDebugger, getConfigurationProperties, getDeclaredModelDeclarations, getDeclaredOperations, getImportManager, getImports, getMain, getModelDeclarations, getOperations, getParentModule, getParseProblems, getPostOperationStatements, parse, setContext, setImportManager, setParentModuleMethods inherited from interface org.eclipse.epsilon.erl.IErlModule
getDeclaredPost, getDeclaredPre, getPost, getPreMethods inherited from interface org.eclipse.epsilon.erl.IErlModuleAtomBatches
getBatchJobsMethods inherited from interface org.eclipse.epsilon.evl.IEvlModule
getConstraint, getConstraintContextMethods inherited from interface org.eclipse.epsilon.common.module.IModule
createAst, getSourceUri, parse, parse, parse, parse, parseMethods inherited from interface org.eclipse.epsilon.common.module.ModuleElement
build, getChildren, getComments, getData, getFile, getModule, getParent, getRegion, getUri, setModule, setParent, setRegion, setUri
-
Field Details
-
jobsCache
-
-
Constructor Details
-
EvlModuleParallelAtoms
protected EvlModuleParallelAtoms() -
EvlModuleParallelAtoms
-
-
Method Details
-
getAllJobs
Description copied from interface:IErlModuleAtomBatchesThe atomic units of work.- Specified by:
getAllJobsin interfaceIErlModuleAtomBatches<A extends EvlAtom<?>>- Returns:
- A deterministically ordered List of executable rule-element pairs.
- Throws:
EolRuntimeException- If any problems are encountered when retrieving the jobs.
-
getAllJobsImpl
Non-cached implementation as called bygetAllJobs().- Returns:
- The deterministically ordered jobs.
- Throws:
EolRuntimeException
-
executeAll
- Throws:
EolRuntimeException
-
checkConstraints
Description copied from class:EvlModuleInvokes the execute() method on all Constraints in all ConstraintContexts. If optimizeConstraints, the constraints to be checked are filtered.- Specified by:
checkConstraintsin classEvlModuleParallel- Throws:
EolRuntimeException
-