Package brave.httpasyncclient
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 Summary
Constructors Constructor Description ApacheHttpAsyncClientBenchmarks()
-
Method Summary
Modifier and Type Method Description protected void
close(org.apache.http.impl.nio.client.CloseableHttpAsyncClient client)
protected void
get(org.apache.http.impl.nio.client.CloseableHttpAsyncClient client)
static void
main(String[] args)
protected org.apache.http.impl.nio.client.CloseableHttpAsyncClient
newClient()
protected org.apache.http.impl.nio.client.CloseableHttpAsyncClient
newClient(HttpTracing httpTracing)
Methods inherited from class brave.http.HttpClientBenchmarks
baseUrl, client_get, close, init, tracedClient_get, tracedClient_get_resumeTrace, unsampledClient_get
-
Constructor Details
-
ApacheHttpAsyncClientBenchmarks
public ApacheHttpAsyncClientBenchmarks()
-
-
Method Details
-
newClient
protected org.apache.http.impl.nio.client.CloseableHttpAsyncClient newClient(HttpTracing httpTracing)- Specified by:
newClient
in classHttpClientBenchmarks<org.apache.http.impl.nio.client.CloseableHttpAsyncClient>
-
newClient
protected org.apache.http.impl.nio.client.CloseableHttpAsyncClient newClient()- Specified by:
newClient
in classHttpClientBenchmarks<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 classHttpClientBenchmarks<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 classHttpClientBenchmarks<org.apache.http.impl.nio.client.CloseableHttpAsyncClient>
- Throws:
IOException
-
main
- Throws:
org.openjdk.jmh.runner.RunnerException
-