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 voidclose(org.springframework.web.client.AsyncRestTemplate client)protected voidget(org.springframework.web.client.AsyncRestTemplate client)static voidmain(String[] args)protected org.springframework.web.client.AsyncRestTemplatenewClient()protected org.springframework.web.client.AsyncRestTemplatenewClient(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:
newClientin classHttpClientBenchmarks<org.springframework.web.client.AsyncRestTemplate>
-
newClient
protected org.springframework.web.client.AsyncRestTemplate newClient()- Specified by:
newClientin classHttpClientBenchmarks<org.springframework.web.client.AsyncRestTemplate>
-
get
- Specified by:
getin classHttpClientBenchmarks<org.springframework.web.client.AsyncRestTemplate>- Throws:
Exception
-
close
protected void close(org.springframework.web.client.AsyncRestTemplate client)- Specified by:
closein classHttpClientBenchmarks<org.springframework.web.client.AsyncRestTemplate>
-
main
- Throws:
org.openjdk.jmh.runner.RunnerException
-