Class RealCall.AsyncCall

java.lang.Object
org.miaixz.bus.http.metric.NamedRunnable
org.miaixz.bus.http.RealCall.AsyncCall
All Implemented Interfaces:
Runnable
Enclosing class:
RealCall

public class RealCall.AsyncCall extends NamedRunnable
  • Method Details

    • callsPerHost

      public AtomicInteger callsPerHost()
    • reuseCallsPerHostFrom

      public void reuseCallsPerHostFrom(RealCall.AsyncCall other)
    • host

      public String host()
    • get

      public RealCall get()
    • executeOn

      public void executeOn(ExecutorService executorService)
      尝试在executorService上排队这个异步调用 如果执行程序已经关闭,则将尝试通过调用失败来进行清理
    • execute

      protected void execute()
      Specified by:
      execute in class NamedRunnable