public class Idempotency
extends java.lang.Object
IdempotencyConfig.Builder methods to see defaults values.RequestHandler.handleRequest(Object, Context))
get called.
Idempotency.config().withPersistenceStore(...).configure();
| Modifier and Type | Class and Description |
|---|---|
static class |
Idempotency.Config |
| Modifier and Type | Method and Description |
|---|---|
static Idempotency.Config |
config()
Acts like a builder that can be used to configure
Idempotency |
IdempotencyConfig |
getConfig() |
static Idempotency |
getInstance() |
BasePersistenceStore |
getPersistenceStore() |
static void |
registerLambdaContext(com.amazonaws.services.lambda.runtime.Context lambdaContext)
Can be used in a method which is not the handler to capture the Lambda context,
to calculate the remaining time before the invocation times out.
|
public static Idempotency getInstance()
public static void registerLambdaContext(com.amazonaws.services.lambda.runtime.Context lambdaContext)
lambdaContext - public static Idempotency.Config config()
IdempotencyIdempotency.Configpublic IdempotencyConfig getConfig()
public BasePersistenceStore getPersistenceStore()
Copyright © 2023. All rights reserved.