欢迎光临散文网 会员登陆 & 注册

奈学p6p7大前端架构师

2022-12-23 21:39 作者:血霁玫瑰与樱花  | 我要投稿

    .withWaitStrategy(WaitStrategies.fixedWait(3, TimeUnit.SECONDS)) //设置等待间隔时间            .withStopStrategy(StopStrategies.stopAfterAttempt(3)) //设置最大重试次数            .build();    try {      retryer.call(() -> RetryDemoTask.retryTask("abc"));    } catch (Exception e) {      e.printStackTrace();    }

奈学p6p7大前端架构师的评论 (共 条)

分享到微博请遵守国家法律