org.springframework.batch.retry.policy
Interface RetryContextCache

All Known Implementing Classes:
MapRetryContextCache

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

Method Summary
 boolean containsKey(Object key)
           
 RetryContext get(Object key)
           
 void put(Object key, RetryContext context)
           
 void remove(Object key)
           
 

Method Detail

get

RetryContext get(Object key)

put

void put(Object key,
         RetryContext context)
         throws RetryCacheCapacityExceededException
Throws:
RetryCacheCapacityExceededException

remove

void remove(Object key)

containsKey

boolean containsKey(Object key)


Copyright © 2009 SpringSource. All Rights Reserved.