public static class GreetStatefulFunctionBootstrapExample.GreetingsStateBootstrapFunction extends java.lang.Object implements StateBootstrapFunction
Constructor and Description |
---|
GreetingsStateBootstrapFunction() |
Modifier and Type | Method and Description |
---|---|
void |
bootstrap(Context context,
java.lang.Object bootstrapData)
Bootstraps state for this function with the given bootstrap data.
|
public void bootstrap(Context context, java.lang.Object bootstrapData)
StateBootstrapFunction
bootstrap
in interface StateBootstrapFunction
context
- context for the current bootstrap invocation. The provided context instance
should not be used outside the scope of the current invocation.bootstrapData
- input to be used for bootstrapping state.Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.