| Package | Description |
|---|---|
| org.apache.flink.statefun.sdk | |
| org.apache.flink.statefun.sdk.io | |
| org.apache.flink.statefun.sdk.spi |
| Modifier and Type | Method and Description |
|---|---|
FunctionType |
Address.type()
Returns the
FunctionType that this address identifies. |
| Modifier and Type | Method and Description |
|---|---|
StatefulFunction |
StatefulFunctionProvider.functionOfType(FunctionType type)
Creates a
StatefulFunction instance for the given FunctionType, |
boolean |
FunctionTypeNamespaceMatcher.matches(FunctionType functionType) |
default void |
Context.send(FunctionType functionType,
java.lang.String id,
java.lang.Object message)
Invokes another function with an input, identified by the target function's
FunctionType and unique id. |
default void |
Context.sendAfter(java.time.Duration delay,
FunctionType functionType,
java.lang.String id,
java.lang.Object message)
Invokes another function with an input, identified by the target function's
FunctionType and unique id. |
| Constructor and Description |
|---|
Address(FunctionType type,
java.lang.String id)
Creates an
Address. |
| Modifier and Type | Method and Description |
|---|---|
default void |
Router.Downstream.forward(FunctionType functionType,
java.lang.String id,
T message)
Forwards the message as an input to a downstream function, addressed by a specified
FunctionType and the functions unique id within its type. |
| Modifier and Type | Method and Description |
|---|---|
void |
StatefulFunctionModule.Binder.bindFunctionProvider(FunctionType functionType,
StatefulFunctionProvider provider)
Binds a
StatefulFunctionProvider to the Stateful Functions application for a specific
FunctionType. |
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.