Package org.springframework.retry.policy
Interface RetryContextCache
- All Known Implementing Classes:
MapRetryContextCache
,SoftReferenceMapRetryContextCache
public interface RetryContextCache
Simple map-like abstraction for stateful retry policies to use when storing and
retrieving
RetryContext
instances. A null key should never be passed in by the
caller, but if it is then implementations are free to discard the context instead of
saving it (null key means "no information").- Author:
- Dave Syer
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionboolean
containsKey
(Object key) void
put
(Object key, RetryContext context) void
-
Method Details
-
get
-
put
-
remove
-
containsKey
-