Examples of executeTask()


Examples of org.apache.maven.archiva.dependency.graph.GraphTask.executeTask()

        {
            GraphTask task = (GraphTask) it.next();
            try
            {
                triggerGraphPhase( GraphPhaseEvent.GRAPH_TASK_PRE, task, graph );
                task.executeTask( graph );
                if ( task instanceof PotentialCyclicEdgeProducer )
                {
                    taskFlagCyclicEdges.executeTask( graph );
                }
                triggerGraphPhase( GraphPhaseEvent.GRAPH_TASK_POST, task, graph );
View Full Code Here

Examples of org.apache.maven.archiva.dependency.graph.GraphTask.executeTask()

        {
            GraphTask task = (GraphTask) it.next();
            try
            {
                triggerGraphPhase( GraphPhaseEvent.GRAPH_TASK_PRE, task, graph );
                task.executeTask( graph );
                if ( task instanceof PotentialCyclicEdgeProducer )
                {
                    taskFlagCyclicEdges.executeTask( graph );
                }
                triggerGraphPhase( GraphPhaseEvent.GRAPH_TASK_POST, task, graph );
View Full Code Here

Examples of org.encog.app.analyst.EncogAnalyst.executeTask()

    encog.addAnalystListener(new ConsoleAnalystListener());
    AnalystWizard wiz = new AnalystWizard(encog);
   
    wiz.wizard(url, analystFile, rawFile, false, AnalystFileFormat.DECPNT_COMMA);

    encog.executeTask("task-full");
   
    encog.save(analystFile);
   
    AnalystReport report = new AnalystReport(encog);
    report.produceReport(new File(dir,"report.html"));
View Full Code Here

Examples of org.encog.app.analyst.EncogAnalyst.executeTask()

    AnalystWizard wiz = new AnalystWizard(encog);
    wiz.setTaskBalance(true);
   
    wiz.wizard(url, analystFile, rawFile, false, AnalystFileFormat.DECPNT_COMMA);
   
    encog.executeTask("task-full");
   
    encog.save(analystFile);
   
    AnalystReport report = new AnalystReport(encog);
    report.produceReport(new File(dir,"report.html"));
View Full Code Here

Examples of org.infinispan.container.DataContainer.executeTask()

               //shared intermediate cache, filter keys that belong to this task
               filter = new IntermediateKeyFilter<KOut>(taskId);
            }
            //iterate all tmp cache entries in memory, do it in parallel
            DataContainer dc = cache.getAdvancedCache().getDataContainer();
            dc.executeTask(filter, new DataContainerTask<KOut, List<VOut>>() {
               @Override
               public void apply(Object k, InternalCacheEntry v) {
                  KOut key = null;
                  if (useIntermediateKeys) {
                     IntermediateCompositeKey<KOut> intKey = (IntermediateCompositeKey<KOut>) k;
View Full Code Here

Examples of org.infinispan.container.DataContainer.executeTask()

               VIn value = cache.get(key);
               mapper.map(key, value, collector);
            }
         } else {
            // here we have to iterate all entries in memory, do it in parallel
            dc.executeTask(new PrimaryOwnerFilter(cdl), new DataContainerTask<KIn, VIn>() {
               @Override
               public void apply(Object key , InternalCacheEntry v) {
                  VIn value = getValue(v);
                  if (value != null) {
                     mapper.map((KIn)key, value, collector);
View Full Code Here

Examples of org.infinispan.container.DataContainer.executeTask()

            Map<KOut, List<VOut>> combinedValues = combine(mcc, c.removeCollectedValues());
            Set<KOut> s = migrateIntermediateKeysAndValues(mcc, combinedValues);
            intermediateKeys.addAll(s);
         } else {
            MapCombineTask<KIn, VIn, KOut, VOut> task = new MapCombineTask<KIn, VIn, KOut, VOut>(c, mcc, maxCSize);
            dc.executeTask(new PrimaryOwnerFilter(cdl), task);
            intermediateKeys.addAll(task.getIntermediateKeys());

            //the remaining last chunk from collector
            Map<KOut, List<VOut>> combinedValues = combine(mcc, c.removeCollectedValues());
            Set<KOut> lastOne = migrateIntermediateKeysAndValues(mcc, combinedValues);
View Full Code Here

Examples of org.infinispan.container.DataContainer.executeTask()

               //shared tmp cache, filter keys that belong to this task
               filter = new IntermediateKeyFilter<KOut>(taskId);
            }
            //iterate all tmp cache entries in memory, do it in parallel
            DataContainer dc = cache.getAdvancedCache().getDataContainer();
            dc.executeTask(filter, new StatelessDataContainerTask<KOut, List<VOut>>() {
               @Override
               public void apply(Object k, InternalCacheEntry v) {
                  KOut key = null;
                  if (useIntermediateKeys) {
                     IntermediateCompositeKey<KOut> intKey = (IntermediateCompositeKey<KOut>) k;
View Full Code Here

Examples of org.infinispan.container.DataContainer.executeTask()

               VIn value = cache.get(key);
               mapper.map(key, value, collector);
            }
         } else {
            // here we have to iterate all entries in memory, do it in parallel
            dc.executeTask(new PrimaryOwnerFilter(cdl), new StatelessDataContainerTask<KIn,VIn>() {
               @Override
               public void apply(Object key , InternalCacheEntry v) {
                  VIn value = getValue(v);
                  if (value != null) {
                     mapper.map((KIn)key, value, collector);
View Full Code Here

Examples of org.infinispan.container.DataContainer.executeTask()

               //dedicated tmp cache, all keys belong to this task
               filter = KeyFilter.LOAD_ALL_FILTER;
            }
            //iterate all tmp cache entries in memory, do it in parallel
            DataContainer dc = cache.getAdvancedCache().getDataContainer();
            dc.executeTask(filter, new DataContainerTask<KOut, List<VOut>>() {
               @Override
               public void apply(Object k, InternalCacheEntry v) {
                  KOut key = null;
                  if (useIntermediateKeys) {
                     IntermediateCompositeKey<KOut> intKey = (IntermediateCompositeKey<KOut>) k;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.