Class ApacheHttpAsyncClientBenchmarks

java.lang.Object
brave.http.HttpClientBenchmarks<org.apache.http.impl.nio.client.CloseableHttpAsyncClient>
brave.httpasyncclient.ApacheHttpAsyncClientBenchmarks
Direct Known Subclasses:
ApacheHttpAsyncClientBenchmarks_jmhType_B1

public class ApacheHttpAsyncClientBenchmarks
extends HttpClientBenchmarks<org.apache.http.impl.nio.client.CloseableHttpAsyncClient>
  • Constructor Details

  • Method Details

    • newClient

      protected org.apache.http.impl.nio.client.CloseableHttpAsyncClient newClient​(HttpTracing httpTracing)
      Specified by:
      newClient in class HttpClientBenchmarks<org.apache.http.impl.nio.client.CloseableHttpAsyncClient>
    • newClient

      protected org.apache.http.impl.nio.client.CloseableHttpAsyncClient newClient()
      Specified by:
      newClient in class HttpClientBenchmarks<org.apache.http.impl.nio.client.CloseableHttpAsyncClient>
    • get

      protected void get​(org.apache.http.impl.nio.client.CloseableHttpAsyncClient client) throws Exception
      Specified by:
      get in class HttpClientBenchmarks<org.apache.http.impl.nio.client.CloseableHttpAsyncClient>
      Throws:
      Exception
    • close

      protected void close​(org.apache.http.impl.nio.client.CloseableHttpAsyncClient client) throws IOException
      Specified by:
      close in class HttpClientBenchmarks<org.apache.http.impl.nio.client.CloseableHttpAsyncClient>
      Throws:
      IOException
    • main

      public static void main​(String[] args) throws org.openjdk.jmh.runner.RunnerException
      Throws:
      org.openjdk.jmh.runner.RunnerException