Class PluginRunner
java.lang.Object
software.amazon.lambda.durable.plugin.PluginRunner
Deprecated.
This is a preview API that is experimental and may be changed or removed in future releases.
Composes multiple
DurableExecutionPlugin instances into a single dispatcher.
Event hooks are fire-and-forget: each plugin is called in order, errors are swallowed.
onInvocationEnd is awaited (the SDK blocks until it returns) to allow plugins to flush data before Lambda
freezes.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Returns the list of registered plugins.booleanisEmpty()Deprecated.Returns true if no plugins are registered.static PluginRunnernoOp()Deprecated.Returns a no-op runner that does nothing.voidDeprecated.Called at the end of each invocation.voidDeprecated.voidDeprecated.voidDeprecated.voidDeprecated.voidDeprecated.
-
Constructor Details
-
PluginRunner
Deprecated.
-
-
Method Details
-
noOp
Deprecated.Returns a no-op runner that does nothing. -
isEmpty
public boolean isEmpty()Deprecated.Returns true if no plugins are registered. -
getPlugins
Deprecated.Returns the list of registered plugins. -
onInvocationStart
Deprecated. -
onInvocationEnd
Deprecated.Called at the end of each invocation. Awaited — the SDK blocks until all plugins return, allowing plugins to flush spans/metrics before Lambda freezes. -
onOperationStart
Deprecated. -
onOperationEnd
Deprecated. -
onUserFunctionStart
Deprecated. -
onUserFunctionEnd
Deprecated.
-