类 RetryLoops
- java.lang.Object
-
- org.apache.dubbo.remoting.etcd.jetcd.RetryLoops
-
public class RetryLoops extends Object
-
-
构造器概要
构造器 构造器 说明 RetryLoops()
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 voidcomplete()voidfireException(Exception e, RetryPolicy retryPolicy)static <R> RinvokeWithRetry(Callable<R> task, RetryPolicy retryPolicy)booleanshouldContinue()
-
-
-
方法详细资料
-
invokeWithRetry
public static <R> R invokeWithRetry(Callable<R> task, RetryPolicy retryPolicy) throws Exception
- 抛出:
Exception
-
fireException
public void fireException(Exception e, RetryPolicy retryPolicy) throws Exception
- 抛出:
Exception
-
shouldContinue
public boolean shouldContinue()
-
complete
public void complete()
-
-