| Package | Description |
|---|---|
| org.apache.flink.statefun.sdk | |
| org.apache.flink.statefun.sdk.io |
| Modifier and Type | Method and Description |
|---|---|
Address |
Context.caller()
Returns the
Address of the invoking function. |
Address |
Context.self()
Returns the
Address of the invoked function. |
| Modifier and Type | Method and Description |
|---|---|
void |
Context.send(Address to,
java.lang.Object message)
Invokes another function with an input, identified by the target function's
Address. |
void |
Context.sendAfter(java.time.Duration delay,
Address to,
java.lang.Object message)
Invokes another function with an input, identified by the target function's
Address,
after a given delay. |
void |
Context.sendAfter(java.time.Duration delay,
Address to,
java.lang.Object message,
java.lang.String cancellationToken)
Invokes another function with an input (associated with a
cancellationToken),
identified by the target function's Address, after a given delay. |
| Modifier and Type | Method and Description |
|---|---|
void |
Router.Downstream.forward(Address to,
T message)
Forwards the message as an input to a downstream function, addressed by a specified
Address. |
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.