org.apache.shindig.gadgets.preload
Class PipelineExecutor

java.lang.Object
  extended by org.apache.shindig.gadgets.preload.PipelineExecutor

public class PipelineExecutor
extends Object

Runs data pipelining, chaining dependencies among batches as needed.


Nested Class Summary
static class PipelineExecutor.Results
          Results from a full pipeline execution.
 
Constructor Summary
PipelineExecutor(PipelinedDataPreloader preloader, PreloaderService preloaderService, Expressions expressions)
           
 
Method Summary
 PipelineExecutor.Results execute(GadgetContext context, Collection<PipelinedData> pipelines)
          Executes a pipeline, or set of pipelines.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PipelineExecutor

@Inject
public PipelineExecutor(PipelinedDataPreloader preloader,
                               PreloaderService preloaderService,
                               Expressions expressions)
Method Detail

execute

public PipelineExecutor.Results execute(GadgetContext context,
                                        Collection<PipelinedData> pipelines)
Executes a pipeline, or set of pipelines.

Parameters:
context - the gadget context for the state in which the pipelines execute
pipelines - a collection of pipelines
Returns:
results from the pipeline, or null if there are no results


Copyright © 2007-2012. All Rights Reserved.