Package com.lucidworks.apollo.pipeline
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 Summary
FieldsFields inherited from class com.lucidworks.apollo.pipeline.AbstractStage
NOW_KEY, paramsInited -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidfinish()voidonFinished(Runnable finishedRunnable) voidvoidsetStageOutput(StageOutput<M> stageOutput) Methods inherited from class com.lucidworks.apollo.pipeline.AbstractStage
escapeKey, getConditionScriptFuncArguments, getConditionScriptFuncWrapper, getConfiguration, getConfigurationComponent, getContextFactory, getId, getMetricRegistry, getProperty, handleSignal, init, managedModeEnabled, preInit, processMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.lucidworks.apollo.pipeline.Configurable
getConfiguration, getProperty, initMethods inherited from interface com.lucidworks.apollo.pipeline.Processor
handleSignal, processMethods inherited from interface com.lucidworks.apollo.pipeline.Stage
getContextFactory, getId, getMessageClass, getMetricRegistry, getStageType, managedModeEnabled, preInit
-
Field Details
-
finishedRunnable
-
-
Constructor Details
-
AbstractGenerator
public AbstractGenerator()
-
-
Method Details
-
setStageOutput
-
finish
protected void finish() -
onFinished
- Specified by:
onFinishedin interfaceGenerator<M,C extends com.lucidworks.apollo.pipeline.StageConfig>
-
send
- Specified by:
sendin interfaceStageOutput<M>
-