Uses of Interface
software.amazon.lambda.durable.DurableContext
Packages that use DurableContext
Package
Description
-
Uses of DurableContext in software.amazon.lambda.durable
Methods in software.amazon.lambda.durable that return DurableContextMethods in software.amazon.lambda.durable with parameters of type DurableContextModifier and TypeMethodDescriptionDurableContext.MapFunction.apply(I item, int index, DurableContext context) Applies this function to the given item.abstract ODurableHandler.handleRequest(I input, DurableContext context) Handle the durable execution.Method parameters in software.amazon.lambda.durable with type arguments of type DurableContextModifier and TypeMethodDescriptiondefault <T> DurableFuture<T>ParallelDurableFuture.branch(String name, Class<T> resultType, Function<DurableContext, T> func) Registers and immediately starts a branch (respects maxConcurrency).default <T> DurableFuture<T>ParallelDurableFuture.branch(String name, Class<T> resultType, Function<DurableContext, T> func, ParallelBranchConfig config) Registers and immediately starts a branch (respects maxConcurrency).default <T> DurableFuture<T>ParallelDurableFuture.branch(String name, TypeToken<T> resultType, Function<DurableContext, T> func) Registers and immediately starts a branch (respects maxConcurrency).<T> DurableFuture<T>ParallelDurableFuture.branch(String name, TypeToken<T> resultType, Function<DurableContext, T> func, ParallelBranchConfig config) Registers and immediately starts a branch (respects maxConcurrency).default <T> TDurableContext.runInChildContext(String name, Class<T> resultType, Function<DurableContext, T> func) Runs a function in a child context, blocking until it completes.default <T> TDurableContext.runInChildContext(String name, Class<T> resultType, Function<DurableContext, T> func, RunInChildContextConfig config) Runs a function in a child context, blocking until it completes.default <T> TDurableContext.runInChildContext(String name, TypeToken<T> resultType, Function<DurableContext, T> func) Runs a function in a child context using aTypeTokenfor generic result types, blocking until complete.default <T> TDurableContext.runInChildContext(String name, TypeToken<T> resultType, Function<DurableContext, T> func, RunInChildContextConfig config) Runs a function in a child context, blocking until it completes.default <T> DurableFuture<T>DurableContext.runInChildContextAsync(String name, Class<T> resultType, Function<DurableContext, T> func) Runs a function in a child context, blocking until it completes.default <T> DurableFuture<T>DurableContext.runInChildContextAsync(String name, Class<T> resultType, Function<DurableContext, T> func, RunInChildContextConfig config) Runs a function in a child context, blocking until it completes.default <T> DurableFuture<T>DurableContext.runInChildContextAsync(String name, TypeToken<T> resultType, Function<DurableContext, T> func) Runs a function in a child context, blocking until it completes.<T> DurableFuture<T>DurableContext.runInChildContextAsync(String name, TypeToken<T> resultType, Function<DurableContext, T> func, RunInChildContextConfig config) Runs a function in a child context, blocking until it completes.default <T> TDurableContext.withRetry(String name, BiFunction<Integer, DurableContext, T> operation) Replay-safe retry loop for any durable operation (sync) with default configuration.default <T> TDurableContext.withRetry(String name, BiFunction<Integer, DurableContext, T> operation, WithRetryConfig config) Replay-safe retry loop for any durable operation (sync).default <T> DurableFuture<T>DurableContext.withRetryAsync(String name, BiFunction<Integer, DurableContext, T> operation) Replay-safe retry loop for any durable operation (async) with default configuration.<T> DurableFuture<T>DurableContext.withRetryAsync(String name, BiFunction<Integer, DurableContext, T> operation, WithRetryConfig config) Replay-safe retry loop for any durable operation (async). -
Uses of DurableContext in software.amazon.lambda.durable.context
Classes in software.amazon.lambda.durable.context that implement DurableContextModifier and TypeClassDescriptionclassUser-facing API for defining durable operations within a workflow.Method parameters in software.amazon.lambda.durable.context with type arguments of type DurableContextModifier and TypeMethodDescription<T> DurableFuture<T>DurableContextImpl.runInChildContextAsync(String name, TypeToken<T> resultType, Function<DurableContext, T> func, RunInChildContextConfig config) Runs a function in a child context, blocking until it completes.<T> DurableFuture<T>DurableContextImpl.withRetryAsync(String name, BiFunction<Integer, DurableContext, T> operation, WithRetryConfig config) -
Uses of DurableContext in software.amazon.lambda.durable.execution
Method parameters in software.amazon.lambda.durable.execution with type arguments of type DurableContextModifier and TypeMethodDescriptionstatic <I,O> DurableExecutionOutput DurableExecutor.execute(DurableExecutionInput input, com.amazonaws.services.lambda.runtime.Context lambdaContext, TypeToken<I> inputType, BiFunction<I, DurableContext, O> handler, DurableConfig config) static <I,O> com.amazonaws.services.lambda.runtime.RequestHandler<DurableExecutionInput, DurableExecutionOutput> DurableExecutor.wrap(TypeToken<I> inputType, BiFunction<I, DurableContext, O> handler, DurableConfig config) Wraps a user handler in a RequestHandler that can be used by the Lambda runtime. -
Uses of DurableContext in software.amazon.lambda.durable.operation
Method parameters in software.amazon.lambda.durable.operation with type arguments of type DurableContextModifier and TypeMethodDescription<T> DurableFuture<T>ParallelOperation.branch(String name, TypeToken<T> resultType, Function<DurableContext, T> func, ParallelBranchConfig config) protected <R> ChildContextOperation<R>ConcurrencyOperation.createItem(String operationId, String name, Function<DurableContext, R> function, TypeToken<R> resultType, SerDes serDes, OperationSubType branchSubType) Creates a child context operation for a single item (branch or iteration).protected <R> ChildContextOperation<R>ConcurrencyOperation.enqueueItem(String name, Function<DurableContext, R> function, TypeToken<R> resultType, SerDes serDes, OperationSubType branchSubType, boolean skipped) Creates and enqueues an item without starting execution.Constructor parameters in software.amazon.lambda.durable.operation with type arguments of type DurableContextModifierConstructorDescriptionChildContextOperation(OperationIdentifier operationIdentifier, Function<DurableContext, T> function, TypeToken<T> resultTypeToken, RunInChildContextConfig config, DurableContextImpl durableContext) ChildContextOperation(OperationIdentifier operationIdentifier, Function<DurableContext, T> function, TypeToken<T> resultTypeToken, RunInChildContextConfig config, DurableContextImpl durableContext, ConcurrencyOperation<?> parentOperation)