Package org.fcrepo.common.retry
Interface ExceptionChecker
-
public interface ExceptionChecker
Tests if a method should be retried based on the exception thrown- Author:
- pwinckles
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
shouldRetry(Exception e)
Return true if the method that produced the exception should be retried
-
-
-
Method Detail
-
shouldRetry
boolean shouldRetry(Exception e)
Return true if the method that produced the exception should be retried- Parameters:
e
- the exception- Returns:
- true if the method should be retried
-
-