Package org.emftrace.quarc.core.cache

Examples of org.emftrace.quarc.core.cache.CacheManager


    createImpact(gss, p1, g1, 1);
    createImpact(gss, si1, p1, 1);
 
    gssQuery.setIncludeAll(true);
   
    cacheManager = new CacheManager(gss,queryResultSet, accessLayer);
    cacheManager.initCache();
   
    new ApplicableElementsSelector(gssQuery, queryResultSet, accessLayer,
        cacheManager, null,false).runWithoutUnicaseCommand();
   
View Full Code Here


    Pattern si2 = createPattern(gss, 2);
    createIsA(gss, si2, si1);
   
    gssQuery.setIncludeAll(true);
   
    cacheManager = new CacheManager(gss, queryResultSet, accessLayer);
    cacheManager.initCache();
   
    new ApplicableElementsSelector(gssQuery, queryResultSet, accessLayer,
        cacheManager, null, false).runWithoutUnicaseCommand();
   

    Pattern si3 = createPattern(gss, 3);
    createIsA(gss, si3, si1);
   
    cacheManager = new CacheManager(gss, queryResultSet, accessLayer);
    cacheManager.initCache();

    ApplicableElementsPruner gssGraphPruner = new ApplicableElementsPruner(gssQuery, queryResultSet, accessLayer,cacheManager, true);
   
      gssGraphPruner.runWithoutUnicaseCommand();
View Full Code Here

  private PrincipleGoalImpactMatrixCreator mappingMatrixCreator;
  private Matrix goalPrincipleMappingMatrix;

  private void executeRequiredPhases() {
    gssQuery.setIncludeAll(true);
    cacheManager = new CacheManager(gss, queryResultSet, accessLayer);
    cacheManager.initCache();


    new ApplicableElementsSelector(gssQuery, queryResultSet, accessLayer,
        cacheManager, null, false).runWithoutUnicaseCommand();
View Full Code Here

    gssQuery.setUuid("foo query");
    gssQuery.setTimestamp("01.01.1970 00:01");
    gssQuery.setUsername("foo user");
   
    queryResultSet = QueryFactory.eINSTANCE.createQueryResultSet();
    cacheManager = new CacheManager(gss, queryResultSet, accessLayer);
    cacheManager.initCache();
   
    new ApplicableElementsSelector(gssQuery, queryResultSet, accessLayer,
        cacheManager, null, false).runWithoutUnicaseCommand();
View Full Code Here

  private void executeRequiredPhases() {

    gssQuery.setIncludeAll(true);

    cacheManager = new CacheManager(gss, queryResultSet, accessLayer);
    cacheManager.initCache();

    new ApplicableElementsSelector(gssQuery, queryResultSet, accessLayer,
        cacheManager, gssQuery.getAssignedConstraintsSet(),
        gssQuery.getSelectedGoalsSet(), false)
View Full Code Here

  public GSSQueryProcessor(GSSQuery gssQuery, AccessLayer accessLayer, GSS gss, AssignedConstraintsSet assignedConstraintsSet, boolean goalsAndPrinciplesOnly){
    super("processing query "+gssQuery.getName()+" ...");
    this.gssQuery  = gssQuery;
    this.goalsAndPrinciplesOnly = goalsAndPrinciplesOnly;
    this.queryResultSet = QueryFactory.eINSTANCE.createQueryResultSet();
    this.cacheManager = new CacheManager(gss, this.queryResultSet,accessLayer);
    this.selectedGoalsSet = gssQuery.getSelectedGoalsSet();
    this.preselector = new Preselector(this.gssQuery, this.queryResultSet, this.accessLayer,cacheManager, assignedConstraintsSet, selectedGoalsSet, goalsAndPrinciplesOnly );
    this.ratingsCalculator = new RatingsCalculator(this.gssQuery, this.queryResultSet, this.accessLayer, cacheManager)
  }
View Full Code Here

  private PrincipleRatingsCalculator principleRatingsCalculator;


  private void executeRequiredPhases() {
    gssQuery.setIncludeAll(true);
    cacheManager = new CacheManager(gss, queryResultSet, accessLayer);
    cacheManager.initCache();
   
    new ApplicableElementsSelector(gssQuery, queryResultSet, accessLayer,
        cacheManager, null, false).runWithoutUnicaseCommand();
   
View Full Code Here

public class ApplicableElementsSelectorTest extends QUARCCoreTestCase {

  private void executeRequiredPhases(boolean goalsAndPriniplesOnly) {

    cacheManager = new CacheManager(gss, queryResultSet, accessLayer);
    cacheManager.initCache();
    new ApplicableElementsSelector(gssQuery, queryResultSet, accessLayer,
        cacheManager, null, gssQuery.getSelectedGoalsSet(),
        goalsAndPriniplesOnly).runWithoutUnicaseCommand();
View Full Code Here

TOP

Related Classes of org.emftrace.quarc.core.cache.CacheManager

Copyright © 2018 www.massapicom. 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.