Class AbstractGenerator<M,C extends com.lucidworks.apollo.pipeline.StageConfig>

java.lang.Object
com.lucidworks.apollo.pipeline.AbstractStage<M,C>
com.lucidworks.apollo.pipeline.AbstractGenerator<M,C>
All Implemented Interfaces:
Configurable<C>, Generator<M,C>, Lifecycle, Processor<M>, Stage<M,C>, StageOutput<M>

public abstract class AbstractGenerator<M,C extends com.lucidworks.apollo.pipeline.StageConfig> extends AbstractStage<M,C> implements Generator<M,C>
  • Field Details

    • finishedRunnable

      protected Runnable finishedRunnable
  • Constructor Details

    • AbstractGenerator

      public AbstractGenerator()
  • Method Details

    • setStageOutput

      public void setStageOutput(StageOutput<M> stageOutput)
    • finish

      protected void finish()
    • onFinished

      public void onFinished(Runnable finishedRunnable)
      Specified by:
      onFinished in interface Generator<M,C extends com.lucidworks.apollo.pipeline.StageConfig>
    • send

      public void send(M message, com.lucidworks.apollo.pipeline.Context context)
      Specified by:
      send in interface StageOutput<M>