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 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. -
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. -
Uses of DurableContext in software.amazon.lambda.durable.examples.callback
Methods in software.amazon.lambda.durable.examples.callback with parameters of type DurableContextModifier and TypeMethodDescriptionCallbackExample.handleRequest(ApprovalRequest input, DurableContext context) WaitForCallbackFailedExample.handleRequest(ApprovalRequest input, DurableContext context) -
Uses of DurableContext in software.amazon.lambda.durable.examples.child
Methods in software.amazon.lambda.durable.examples.child with parameters of type DurableContextModifier and TypeMethodDescriptionChildContextExample.handleRequest(GreetingRequest input, DurableContext context) ManyAsyncChildContextExample.handleRequest(ManyAsyncChildContextExample.Input input, DurableContext context) -
Uses of DurableContext in software.amazon.lambda.durable.examples.general
Methods in software.amazon.lambda.durable.examples.general with parameters of type DurableContextModifier and TypeMethodDescriptionCustomConfigExample.handleRequest(String input, DurableContext context) CustomPollingExample.handleRequest(GreetingRequest input, DurableContext context) ErrorHandlingExample.handleRequest(Object input, DurableContext context) GenericInputOutputExample.handleRequest(Map<String, String> input, DurableContext context) GenericTypesExample.handleRequest(GenericTypesExample.Input input, DurableContext context) LoggingExample.handleRequest(GreetingRequest input, DurableContext context) NoopExample.handleRequest(GreetingRequest input, DurableContext context) -
Uses of DurableContext in software.amazon.lambda.durable.examples.invoke
Methods in software.amazon.lambda.durable.examples.invoke with parameters of type DurableContextModifier and TypeMethodDescriptionSimpleInvokeExample.handleRequest(GreetingRequest input, DurableContext context) -
Uses of DurableContext in software.amazon.lambda.durable.examples.map
Methods in software.amazon.lambda.durable.examples.map with parameters of type DurableContextModifier and TypeMethodDescriptionComplexMapExample.handleRequest(Integer input, DurableContext context) DeserializationFailedMapExample.handleRequest(GreetingRequest input, DurableContext context) SimpleMapExample.handleRequest(GreetingRequest input, DurableContext context) -
Uses of DurableContext in software.amazon.lambda.durable.examples.parallel
Methods in software.amazon.lambda.durable.examples.parallel with parameters of type DurableContextModifier and TypeMethodDescriptionDeserializationFailedParallelExample.handleRequest(DeserializationFailedParallelExample.Input input, DurableContext context) ParallelExample.handleRequest(ParallelExample.Input input, DurableContext context) ParallelFailureToleranceExample.handleRequest(ParallelFailureToleranceExample.Input input, DurableContext context) ParallelWithWaitExample.handleRequest(ParallelWithWaitExample.Input input, DurableContext context) -
Uses of DurableContext in software.amazon.lambda.durable.examples.step
Methods in software.amazon.lambda.durable.examples.step with parameters of type DurableContextModifier and TypeMethodDescriptionDeserializationFailureExample.handleRequest(String input, DurableContext context) ManyAsyncStepsExample.handleRequest(ManyAsyncStepsExample.Input input, DurableContext context) RetryExample.handleRequest(Object input, DurableContext context) RetryInProcessExample.handleRequest(Object input, DurableContext context) SimpleStepExample.handleRequest(GreetingRequest input, DurableContext context) -
Uses of DurableContext in software.amazon.lambda.durable.examples.wait
Methods in software.amazon.lambda.durable.examples.wait with parameters of type DurableContextModifier and TypeMethodDescriptionConcurrentWaitForConditionExample.handleRequest(ConcurrentWaitForConditionExample.Input input, DurableContext context) WaitAsyncExample.handleRequest(GreetingRequest input, DurableContext context) WaitAtLeastExample.handleRequest(GreetingRequest input, DurableContext context) WaitAtLeastInProcessExample.handleRequest(GreetingRequest input, DurableContext context) WaitExample.handleRequest(GreetingRequest input, DurableContext context) WaitForConditionExample.handleRequest(Integer threshold, DurableContext context) -
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, DurableContextImpl parentContext) 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) 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) -
Uses of DurableContext in software.amazon.lambda.durable.testing
Method parameters in software.amazon.lambda.durable.testing with type arguments of type DurableContextModifier and TypeMethodDescriptionstatic <I,O> LocalDurableTestRunner<I, O> LocalDurableTestRunner.create(Class<I> inputType, BiFunction<I, DurableContext, O> handlerFn) Creates a LocalDurableTestRunner with default configuration.static <I,O> LocalDurableTestRunner<I, O> LocalDurableTestRunner.create(Class<I> inputType, BiFunction<I, DurableContext, O> handlerFn, DurableConfig config) Creates a LocalDurableTestRunner that uses a custom configuration.static <I,O> LocalDurableTestRunner<I, O> LocalDurableTestRunner.create(TypeToken<I> inputType, BiFunction<I, DurableContext, O> handlerFn) Creates a LocalDurableTestRunner with default configuration.static <I,O> LocalDurableTestRunner<I, O> LocalDurableTestRunner.create(TypeToken<I> inputType, BiFunction<I, DurableContext, O> handlerFn, DurableConfig config) Creates a LocalDurableTestRunner that uses a custom configuration.