Package brave.spring.web
Class AsyncRestTemplateBenchmarks
java.lang.Object
brave.http.HttpClientBenchmarks<org.springframework.web.client.AsyncRestTemplate>
brave.spring.web.AsyncRestTemplateBenchmarks
- Direct Known Subclasses:
AsyncRestTemplateBenchmarks_jmhType_B1
public class AsyncRestTemplateBenchmarks extends HttpClientBenchmarks<org.springframework.web.client.AsyncRestTemplate>
-
Constructor Summary
Constructors Constructor Description AsyncRestTemplateBenchmarks()
-
Method Summary
Modifier and Type Method Description protected void
close(org.springframework.web.client.AsyncRestTemplate client)
protected void
get(org.springframework.web.client.AsyncRestTemplate client)
static void
main(String[] args)
protected org.springframework.web.client.AsyncRestTemplate
newClient()
protected org.springframework.web.client.AsyncRestTemplate
newClient(HttpTracing httpTracing)
Methods inherited from class brave.http.HttpClientBenchmarks
baseUrl, client_get, close, init, tracedClient_get, tracedClient_get_resumeTrace, unsampledClient_get
-
Constructor Details
-
AsyncRestTemplateBenchmarks
public AsyncRestTemplateBenchmarks()
-
-
Method Details
-
newClient
- Specified by:
newClient
in classHttpClientBenchmarks<org.springframework.web.client.AsyncRestTemplate>
-
newClient
protected org.springframework.web.client.AsyncRestTemplate newClient()- Specified by:
newClient
in classHttpClientBenchmarks<org.springframework.web.client.AsyncRestTemplate>
-
get
- Specified by:
get
in classHttpClientBenchmarks<org.springframework.web.client.AsyncRestTemplate>
- Throws:
Exception
-
close
protected void close(org.springframework.web.client.AsyncRestTemplate client)- Specified by:
close
in classHttpClientBenchmarks<org.springframework.web.client.AsyncRestTemplate>
-
main
- Throws:
org.openjdk.jmh.runner.RunnerException
-