See: Description
| Interface | Description |
|---|---|
| Flow |
A reference to the Flow object attached to the current invocation context.
|
| FlowFuture<T> |
This class exposes operations (with a similar API to
CompletionStage) that allow
asynchronous computation to be chained into the current execution graph of a Flow. |
| Flows.FlowSource |
Defines a supplier for the current runtime-
|
| Flows.SerBiConsumer<T,U> |
Version of
BiConsumer that is implicitly serializable. |
| Flows.SerBiFunction<T,U,R> |
Version of
BiFunction that is implicitly serializable. |
| Flows.SerCallable<V> |
Version of
Callable that is implicitly serializable. |
| Flows.SerConsumer<V> |
Version of
Consumer that is implicitly serializable. |
| Flows.SerFunction<T,V> |
Version of
Function that is implicitly serializable. |
| Flows.SerRunnable |
Version of
Runnable that is implicitly serializable. |
| Flows.SerSupplier<V> |
Version of
Supplier that is implicitly serializable. |
| HttpRequest |
An abstract HTTP request details (without location)
|
| HttpResponse |
A FunctionResponse represents the HTTP response from an external function invocation
(e.g.
|
| Class | Description |
|---|---|
| Flows |
Fn Flow API entry point class - this provides access to the current
Flow for the current function invocation. |
| Enum | Description |
|---|---|
| Flow.FlowState |
Represents the possible end states of a Flow object, i.e.
|
| HttpMethod |
Enum representing the different HTTP types that can be used to invoke an external function
|
| Exception | Description |
|---|---|
| FlowCompletionException |
Exception thrown when a blocking operation on a flow fails - this corresponds to a
CompletionException in CompletableFuture calls |
| FunctionInvocationException |
Exception thrown when an external function invocation returns a failure.
|
| FunctionInvokeFailedException |
Exception thrown when a function call failed within the fn platform - the function may or may not have been invoked and
that invocation may or may not have completed.
|
| FunctionTimeoutException |
Exception thrown when a function execution exceeds its configured timeout.
|
| InvalidStageResponseException |
Exception thrown when a completion stage responds with an incompatible datum type for its corresponding completion
graph stage.
|
| LambdaSerializationException |
Exception thrown when a lambda or any referenced objects fail to be serialized.
|
| PlatformException |
Exception thrown when the completion facility fails to operate on a completion graph
|
| ResultSerializationException |
Exception thrown when a result returned by a completion stage fails to be serialized.
|
| StageInvokeFailedException |
Exception thrown when a a completion stage invocation failed within Fn - the stage may or may not have been invoked
and that invocation may or may not have completed.
|
| StageLostException |
Exception thrown when a stage failed after an internal error in the flow server, the stage may or may not have been
invoked and that invocation may or may not have completed.
|
| StageTimeoutException |
Exception thrown when a completion stage function execution exceeds it configured timeout -
the stage may or may not have completed normally.
|
| WrappedFunctionException |
Wrapped exception where the root cause of a function failure was not serializable.
|
Copyright © 2021. All rights reserved.