public final class TkRetry extends Object implements Take
public TkRetry(int retries, int wait, Take original)
retries
- Number of retry attemptswait
- Time between retriesoriginal
- Original takepublic Response act(Request req) throws IOException
Take
act
in interface Take
req
- Request to processIOException
- If failsCopyright © 2015–2018 Take. All rights reserved.