public abstract class AbstractGenerator<M,C extends StageConfig> extends AbstractStage<M,C> implements Generator<M,C>
Modifier and Type | Method and Description |
---|---|
void |
onFinished(java.lang.Runnable finishedRunnable) |
void |
send(M message,
Context context) |
void |
setStageOutput(StageOutput<M> stageOutput) |
getConfiguration, getContextFactory, getId, getMetricRegistry, handleSignal, init, process
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getContextFactory, getId, getMessageClass, getMetricRegistry
handleSignal, process
getConfiguration, getStageConfigClass, init
public void setStageOutput(StageOutput<M> stageOutput)
public void onFinished(java.lang.Runnable finishedRunnable)
onFinished
in interface Generator<M,C extends StageConfig>
public void send(M message, Context context)
send
in interface StageOutput<M>