Package brave.http
Class HttpClientBenchmarks<C>
java.lang.Object
brave.http.HttpClientBenchmarks<C>
- Direct Known Subclasses:
ApacheHttpAsyncClientBenchmarks,ApacheHttpClientBenchmarks,AsyncRestTemplateBenchmarks,JaxRs2ClientBenchmarks,OkHttpClientBenchmarks,RestTemplateBenchmarks
public abstract class HttpClientBenchmarks<C> extends Object
-
Constructor Summary
Constructors Constructor Description HttpClientBenchmarks() -
Method Summary
Modifier and Type Method Description protected StringbaseUrl()voidclient_get()voidclose()protected abstract voidclose(C client)protected abstract voidget(C client)voidinit()protected abstract CnewClient()protected abstract CnewClient(HttpTracing httpTracing)voidtracedClient_get()voidtracedClient_get_resumeTrace()voidunsampledClient_get()
-
Constructor Details
-
HttpClientBenchmarks
public HttpClientBenchmarks()
-
-
Method Details
-
newClient
- Throws:
Exception
-
newClient
- Throws:
Exception
-
get
- Throws:
Exception
-
close
- Throws:
Exception
-
baseUrl
-
init
- Throws:
Exception
-
close
- Throws:
Exception
-
client_get
- Throws:
Exception
-
unsampledClient_get
- Throws:
Exception
-
tracedClient_get
- Throws:
Exception
-
tracedClient_get_resumeTrace
- Throws:
Exception
-