Class InMemoryIdempotentRepository
java.lang.Object
com.trendyol.jdempotent.core.datasource.AbstractIdempotentRepository
com.trendyol.jdempotent.core.datasource.InMemoryIdempotentRepository
- All Implemented Interfaces:
IdempotentRepository
public class InMemoryIdempotentRepository extends AbstractIdempotentRepository
An implementation of the idempotent AbstractIdempotentRepository
that uses as a default map
-
Constructor Summary
Constructors Constructor Description InMemoryIdempotentRepository() -
Method Summary
Modifier and Type Method Description protected Map<IdempotencyKey,IdempotentRequestResponseWrapper>getMap()Methods inherited from class com.trendyol.jdempotent.core.datasource.AbstractIdempotentRepository
contains, getResponse, remove, setResponse, store
-
Constructor Details
-
InMemoryIdempotentRepository
public InMemoryIdempotentRepository()
-
-
Method Details
-
getMap
- Specified by:
getMapin classAbstractIdempotentRepository- Returns:
-