@InterfaceStability.Unstable public interface InitableFunction
Order of initialization: InitableFunction
s are invoked in the topological order of operators in the
StreamGraph
. For any two operators A and B in the graph, if operator B consumes results
from operator A, then operator A is guaranteed to be initialized before operator B.
Modifier and Type | Method and Description |
---|---|
default void |
init(Config config,
TaskContext context)
Initializes the function before any messages are processed.
|
default void init(Config config, TaskContext context)
config
- the Config
for the applicationcontext
- the TaskContext
for this task