org.springframework.batch.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.
- Author:
- Dave Syer
- See Also:
MapRetryContextCache
get
RetryContext get(java.lang.Object key)
put
void put(java.lang.Object key,
RetryContext context)
throws RetryCacheCapacityExceededException
- Throws:
RetryCacheCapacityExceededException
remove
void remove(java.lang.Object key)
containsKey
boolean containsKey(java.lang.Object key)
Copyright © 2011. All Rights Reserved.