Class IdempotencyHandler
java.lang.Object
software.amazon.lambda.powertools.idempotency.internal.IdempotencyHandler
Internal class that will handle the Idempotency, and use the
PersistenceStore
to store the result of previous calls.-
Constructor Summary
ConstructorsConstructorDescriptionIdempotencyHandler(org.aspectj.lang.ProceedingJoinPoint pjp, String functionName, com.fasterxml.jackson.databind.JsonNode payload, com.amazonaws.services.lambda.runtime.Context lambdaContext) -
Method Summary
-
Constructor Details
-
IdempotencyHandler
public IdempotencyHandler(org.aspectj.lang.ProceedingJoinPoint pjp, String functionName, com.fasterxml.jackson.databind.JsonNode payload, com.amazonaws.services.lambda.runtime.Context lambdaContext)
-
-
Method Details
-
handle
Main entry point for handling idempotent execution of a function.- Returns:
- function response
- Throws:
Throwable
-