public class ImmediateTriggerer extends Object implements BatchSourceTriggerer
| Constructor and Description |
|---|
ImmediateTriggerer() |
| Modifier and Type | Method and Description |
|---|---|
void |
init(Map<String,Object> map,
SourceContext sourceContext) |
void |
start(Consumer<String> consumer) |
void |
stop() |
public void init(Map<String,Object> map, SourceContext sourceContext) throws Exception
init in interface BatchSourceTriggererExceptionpublic void start(Consumer<String> consumer)
start in interface BatchSourceTriggererpublic void stop()
stop in interface BatchSourceTriggererCopyright © 2017–2021 Apache Software Foundation. All rights reserved.