public class PipelineRuntime<PipeIn,PipeOut>
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
PipelineRuntime.PipelineWorkerStrategyType |
static class |
PipelineRuntime.Stage<Input,Output> |
static class |
PipelineRuntime.StageImpl<Input,Output> |
Constructor and Description |
---|
PipelineRuntime() |
Modifier and Type | Method and Description |
---|---|
<Input,Output> |
addStage(PipelineRuntime.StageImpl<Input,Output> impl,
int numOfWorkers) |
static <Input,Output> |
createPipelineWorker(PipelineRuntime.PipelineWorkerStrategyType type,
PipelineRuntime.Stage<Input,Output> stage,
PipelineRuntime.StageImpl<Input,Output> impl) |
void |
input(PipeIn input) |
void |
shutdown() |
public void input(PipeIn input)
public <Input,Output> void addStage(PipelineRuntime.StageImpl<Input,Output> impl, int numOfWorkers)
public void shutdown() throws java.lang.InterruptedException
java.lang.InterruptedException
public static <Input,Output> PipelineWorkerStrategy createPipelineWorker(PipelineRuntime.PipelineWorkerStrategyType type, PipelineRuntime.Stage<Input,Output> stage, PipelineRuntime.StageImpl<Input,Output> impl)