feign
Class Retryer.Default

java.lang.Object
  extended by feign.Retryer.Default
All Implemented Interfaces:
Retryer
Enclosing interface:
Retryer

public static class Retryer.Default
extends java.lang.Object
implements Retryer


Nested Class Summary
 
Nested classes/interfaces inherited from interface feign.Retryer
Retryer.Default
 
Constructor Summary
Retryer.Default()
           
Retryer.Default(long period, long maxPeriod, int maxAttempts)
           
 
Method Summary
 void continueOrPropagate(RetryableException e)
          if retry is permitted, return (possibly after sleeping).
protected  long currentTimeMillis()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Retryer.Default

public Retryer.Default()

Retryer.Default

public Retryer.Default(long period,
                       long maxPeriod,
                       int maxAttempts)
Method Detail

currentTimeMillis

protected long currentTimeMillis()

continueOrPropagate

public void continueOrPropagate(RetryableException e)
Description copied from interface: Retryer
if retry is permitted, return (possibly after sleeping). Otherwise propagate the exception.

Specified by:
continueOrPropagate in interface Retryer