feign
Interface Retryer

All Known Implementing Classes:
Retryer.Default

public interface Retryer

Created for each invocation to Client.execute(Request, feign.Request.Options). Implementations may keep state to determine if retry operations should continue or not.


Nested Class Summary
static class Retryer.Default
           
 
Method Summary
 void continueOrPropagate(RetryableException e)
          if retry is permitted, return (possibly after sleeping).
 

Method Detail

continueOrPropagate

void continueOrPropagate(RetryableException e)
if retry is permitted, return (possibly after sleeping). Otherwise propagate the exception.