Class DefaultIdempotentService

java.lang.Object
io.microsphere.spring.web.idempotent.DefaultIdempotentService
All Implemented Interfaces:
IdempotentService

public class DefaultIdempotentService extends Object implements IdempotentService
The default IdempotentService implementation which uses a weak reference ConcurrentReferenceHashMap to store the new generated token and session context to check the duplicated request with same token.
Since:
1.0.0
Author:
Mercy
See Also:
  • IdempotentService
  • ConcurrentReferenceHashMap
  • ConcurrentReferenceHashMap.ReferenceType.WEAK