Class RetryAction
- java.lang.Object
-
- net.lenni0451.commons.httpclient.retry.RetryAction
-
public class RetryAction extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static RetryActionNO_RETRY
-
Constructor Summary
Constructors Constructor Description RetryAction()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsleep()static RetryActionwaitFor(long millis)static RetryActionwaitFor(long time, java.util.concurrent.TimeUnit timeUnit)
-
-
-
Field Detail
-
NO_RETRY
public static final RetryAction NO_RETRY
-
-
Method Detail
-
waitFor
public static RetryAction waitFor(long millis)
-
waitFor
public static RetryAction waitFor(long time, java.util.concurrent.TimeUnit timeUnit)
-
sleep
public void sleep() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
-