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 voidclose(org.apache.http.impl.nio.client.CloseableHttpAsyncClient client)protected voidget(org.apache.http.impl.nio.client.CloseableHttpAsyncClient client)static voidmain(String[] args)protected org.apache.http.impl.nio.client.CloseableHttpAsyncClientnewClient()protected org.apache.http.impl.nio.client.CloseableHttpAsyncClientnewClient(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:
newClientin classHttpClientBenchmarks<org.apache.http.impl.nio.client.CloseableHttpAsyncClient>
-
newClient
protected org.apache.http.impl.nio.client.CloseableHttpAsyncClient newClient()- Specified by:
newClientin classHttpClientBenchmarks<org.apache.http.impl.nio.client.CloseableHttpAsyncClient>
-
get
protected void get(org.apache.http.impl.nio.client.CloseableHttpAsyncClient client) throws Exception- Specified by:
getin 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:
closein classHttpClientBenchmarks<org.apache.http.impl.nio.client.CloseableHttpAsyncClient>- Throws:
IOException
-
main
- Throws:
org.openjdk.jmh.runner.RunnerException
-