类 AsyncReport

java.lang.Object
com.aizuda.easy.retry.client.core.report.AbstractReport
com.aizuda.easy.retry.client.core.report.AsyncReport
所有已实现的接口:
Lifecycle, Report

@Component public class AsyncReport extends AbstractReport implements Lifecycle
异步上报数据
从以下版本开始:
1.3.0
作者:
www.byteblogs.com
  • 构造器详细资料

    • AsyncReport

      public AsyncReport()
  • 方法详细资料

    • supports

      public boolean supports(boolean async)
      指定者:
      supports 在接口中 Report
    • doReport

      public boolean doReport(RetryerInfo retryerInfo, Object[] params)
      指定者:
      doReport 在类中 AbstractReport
    • syncReport

      public Boolean syncReport(String scene, String targetClassName, Object[] args, long timeout, TimeUnit unit)
      异步上报到服务端, 若当前处于远程重试阶段不会进行执行上报
    • start

      public void start()
      指定者:
      start 在接口中 Lifecycle
    • close

      public void close()
      指定者:
      close 在接口中 Lifecycle