public class RetryUtil extends Object
| Modifier and Type | Class and Description | 
|---|---|
| static interface  | RetryUtil.BooleanRetryCmd | 
| static interface  | RetryUtil.RetryCmd | 
| Constructor and Description | 
|---|
| RetryUtil() | 
| Modifier and Type | Method and Description | 
|---|---|
| static void | retryOnBoolean(long timeoutms,
              long intervalms,
              RetryUtil.BooleanRetryCmd cmd) | 
| static void | retryOnThrowable(Class clazz,
                long timeoutms,
                long intervalms,
                RetryUtil.RetryCmd cmd) | 
| static void | retryOnThrowable(Set<Class> classes,
                long timeoutms,
                long intervalms,
                RetryUtil.RetryCmd cmd) | 
public static void retryOnThrowable(Class clazz, long timeoutms, long intervalms, RetryUtil.RetryCmd cmd) throws Throwable
Throwablepublic static void retryOnThrowable(Set<Class> classes, long timeoutms, long intervalms, RetryUtil.RetryCmd cmd) throws Throwable
Throwablepublic static void retryOnBoolean(long timeoutms,
                                  long intervalms,
                                  RetryUtil.BooleanRetryCmd cmd)
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.