Package brave.httpclient
Class ApacheHttpClientBenchmarks
java.lang.Object
brave.http.HttpClientBenchmarks<org.apache.http.impl.client.CloseableHttpClient>
brave.httpclient.ApacheHttpClientBenchmarks
- Direct Known Subclasses:
ApacheHttpClientBenchmarks_jmhType_B1
public class ApacheHttpClientBenchmarks extends HttpClientBenchmarks<org.apache.http.impl.client.CloseableHttpClient>
Disabled as it crashes on socket problems
-
Constructor Summary
Constructors Constructor Description ApacheHttpClientBenchmarks() -
Method Summary
Modifier and Type Method Description protected voidclose(org.apache.http.impl.client.CloseableHttpClient client)protected voidget(org.apache.http.impl.client.CloseableHttpClient client)static voidmain(String[] args)protected org.apache.http.impl.client.CloseableHttpClientnewClient()protected org.apache.http.impl.client.CloseableHttpClientnewClient(HttpTracing httpTracing)Methods inherited from class brave.http.HttpClientBenchmarks
baseUrl, client_get, close, init, tracedClient_get, tracedClient_get_resumeTrace, unsampledClient_get
-
Constructor Details
-
ApacheHttpClientBenchmarks
public ApacheHttpClientBenchmarks()
-
-
Method Details
-
newClient
- Specified by:
newClientin classHttpClientBenchmarks<org.apache.http.impl.client.CloseableHttpClient>
-
newClient
protected org.apache.http.impl.client.CloseableHttpClient newClient()- Specified by:
newClientin classHttpClientBenchmarks<org.apache.http.impl.client.CloseableHttpClient>
-
get
- Specified by:
getin classHttpClientBenchmarks<org.apache.http.impl.client.CloseableHttpClient>- Throws:
Exception
-
close
- Specified by:
closein classHttpClientBenchmarks<org.apache.http.impl.client.CloseableHttpClient>- Throws:
IOException
-
main
- Throws:
org.openjdk.jmh.runner.RunnerException
-