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 String
baseUrl()
void
client_get()
void
close()
protected abstract void
close(C client)
protected abstract void
get(C client)
void
init()
protected abstract C
newClient()
protected abstract C
newClient(HttpTracing httpTracing)
void
tracedClient_get()
void
tracedClient_get_resumeTrace()
void
unsampledClient_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
-