Uses of Interface
software.amazon.lambda.durable.StepContext
Packages that use StepContext
Package
Description
-
Uses of StepContext in software.amazon.lambda.durable
Method parameters in software.amazon.lambda.durable with type arguments of type StepContextModifier and TypeMethodDescriptiondefault <T> TDurableContext.step(String name, Class<T> resultType, Function<StepContext, T> func) Executes a durable step with the given name and blocks until it completes.default <T> TDurableContext.step(String name, Class<T> resultType, Function<StepContext, T> func, StepConfig config) Executes a durable step with the given name and configuration, blocking until it completes.default <T> TDurableContext.step(String name, TypeToken<T> resultType, Function<StepContext, T> func) Executes a durable step using aTypeTokenfor generic result types, blocking until it completes.default <T> TDurableContext.step(String name, TypeToken<T> resultType, Function<StepContext, T> func, StepConfig config) Executes a durable step using aTypeTokenand configuration, blocking until it completes.default <T> DurableFuture<T>DurableContext.stepAsync(String name, Class<T> resultType, Function<StepContext, T> func) Asynchronously executes a durable step, returning aDurableFuturethat can be composed or blocked on.default <T> DurableFuture<T>DurableContext.stepAsync(String name, Class<T> resultType, Function<StepContext, T> func, StepConfig config) Asynchronously executes a durable step using custom configuration.default <T> DurableFuture<T>DurableContext.stepAsync(String name, TypeToken<T> resultType, Function<StepContext, T> func) Asynchronously executes a durable step using aTypeTokenfor generic result types.<T> DurableFuture<T>DurableContext.stepAsync(String name, TypeToken<T> resultType, Function<StepContext, T> func, StepConfig config) Asynchronously executes a durable step using aTypeTokenand custom configuration.default <T> TDurableContext.waitForCallback(String name, Class<T> resultType, BiConsumer<String, StepContext> func) Executes a submitter function and waits for an external callback, blocking until the callback completes.default <T> TDurableContext.waitForCallback(String name, Class<T> resultType, BiConsumer<String, StepContext> func, WaitForCallbackConfig waitForCallbackConfig) Executes a submitter and waits for an external callback with custom configuration, blocking until complete.default <T> TDurableContext.waitForCallback(String name, TypeToken<T> resultType, BiConsumer<String, StepContext> func) Executes a submitter and waits for an external callback using aTypeToken, blocking until complete.default <T> TDurableContext.waitForCallback(String name, TypeToken<T> resultType, BiConsumer<String, StepContext> func, WaitForCallbackConfig waitForCallbackConfig) Executes a submitter and waits for an external callback using aTypeTokenand custom configuration.default <T> DurableFuture<T>DurableContext.waitForCallbackAsync(String name, Class<T> resultType, BiConsumer<String, StepContext> func) Asynchronously executes a submitter and waits for an external callback.default <T> DurableFuture<T>DurableContext.waitForCallbackAsync(String name, Class<T> resultType, BiConsumer<String, StepContext> func, WaitForCallbackConfig waitForCallbackConfig) Asynchronously executes a submitter and waits for an external callback with custom configuration.default <T> DurableFuture<T>DurableContext.waitForCallbackAsync(String name, TypeToken<T> resultType, BiConsumer<String, StepContext> func) Asynchronously executes a submitter and waits for an external callback using aTypeToken.<T> DurableFuture<T>DurableContext.waitForCallbackAsync(String name, TypeToken<T> resultType, BiConsumer<String, StepContext> func, WaitForCallbackConfig waitForCallbackConfig) Asynchronously executes a submitter and waits for an external callback using aTypeTokenand custom configuration.default <T> TDurableContext.waitForCondition(String name, Class<T> resultType, BiFunction<T, StepContext, WaitForConditionResult<T>> checkFunc) Polls a condition function until it signals done, blocking until complete.default <T> TDurableContext.waitForCondition(String name, Class<T> resultType, BiFunction<T, StepContext, WaitForConditionResult<T>> checkFunc, WaitForConditionConfig<T> config) Polls a condition function until it signals done, using a custom configuration, blocking until complete.default <T> TDurableContext.waitForCondition(String name, TypeToken<T> resultType, BiFunction<T, StepContext, WaitForConditionResult<T>> checkFunc) Polls a condition function until it signals done, using aTypeToken, blocking until complete.default <T> TDurableContext.waitForCondition(String name, TypeToken<T> resultType, BiFunction<T, StepContext, WaitForConditionResult<T>> checkFunc, WaitForConditionConfig<T> config) Polls a condition function until it signals done, using aTypeTokenand custom configuration, blocking until complete.default <T> DurableFuture<T>DurableContext.waitForConditionAsync(String name, Class<T> resultType, BiFunction<T, StepContext, WaitForConditionResult<T>> checkFunc) Asynchronously polls a condition function until it signals done.default <T> DurableFuture<T>DurableContext.waitForConditionAsync(String name, Class<T> resultType, BiFunction<T, StepContext, WaitForConditionResult<T>> checkFunc, WaitForConditionConfig<T> config) Asynchronously polls a condition function until it signals done, using custom configuration.default <T> DurableFuture<T>DurableContext.waitForConditionAsync(String name, TypeToken<T> resultType, BiFunction<T, StepContext, WaitForConditionResult<T>> checkFunc) Asynchronously polls a condition function until it signals done, using aTypeToken.<T> DurableFuture<T>DurableContext.waitForConditionAsync(String name, TypeToken<T> resultType, BiFunction<T, StepContext, WaitForConditionResult<T>> checkFunc, WaitForConditionConfig<T> config) Asynchronously polls a condition function until it signals done, using aTypeTokenand custom configuration. -
Uses of StepContext in software.amazon.lambda.durable.context
Classes in software.amazon.lambda.durable.context that implement StepContextModifier and TypeClassDescriptionclassContext available inside a step operation's user function.Method parameters in software.amazon.lambda.durable.context with type arguments of type StepContextModifier and TypeMethodDescription<T> DurableFuture<T>DurableContextImpl.stepAsync(String name, TypeToken<T> resultType, Function<StepContext, T> func, StepConfig config) <T> DurableFuture<T>DurableContextImpl.waitForCallbackAsync(String name, TypeToken<T> resultType, BiConsumer<String, StepContext> func, WaitForCallbackConfig waitForCallbackConfig) <T> DurableFuture<T>DurableContextImpl.waitForConditionAsync(String name, TypeToken<T> resultType, BiFunction<T, StepContext, WaitForConditionResult<T>> checkFunc, WaitForConditionConfig<T> config) -
Uses of StepContext in software.amazon.lambda.durable.operation
Constructor parameters in software.amazon.lambda.durable.operation with type arguments of type StepContextModifierConstructorDescriptionStepOperation(OperationIdentifier operationIdentifier, Function<StepContext, T> function, TypeToken<T> resultTypeToken, StepConfig config, DurableContextImpl durableContext) WaitForConditionOperation(String operationId, String name, BiFunction<T, StepContext, WaitForConditionResult<T>> checkFunc, TypeToken<T> resultTypeToken, WaitForConditionConfig<T> config, DurableContextImpl durableContext)