T - a pipeline result typeR - a pipeline request typeP - a pipeline typepublic class RiverThread<T,R extends PipelineRequest,P extends Pipeline<T,R>> extends Object implements Runnable
| Constructor and Description |
|---|
RiverThread(RiverFlow riverFlow,
List<Map<String,Object>> input) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
afterPipelineExecutions() |
protected void |
beforePipelineExecutions()
Before the pipelines are executed, put the river defintions on the queue
|
void |
checkForSuspension()
Should be called regularly to check for a new river state, if the river is suspended.
|
void |
run() |
protected void beforePipelineExecutions() throws IOException
IOExceptionprotected void afterPipelineExecutions() throws Exception
Exceptionpublic void checkForSuspension()
elasticsearch-river-jdbc