
Public Member Functions | |
| def | __init__ (self, str address, control_pb2.ClientConfig config, histogram.Histogram hist) |
| None | run (self) |
| None | stop (self) |
Private Member Functions | |
| None | _record_query_time (self, float query_time) |
Private Attributes | |
| _channel | |
| _concurrency | |
| _generic | |
| _hist | |
| _request | |
| _response_callbacks | |
| _stub | |
Benchmark client interface that exposes a non-blocking send_request().
Definition at line 43 of file aio/benchmark/benchmark_client.py.
| def benchmark_client.BenchmarkClient.__init__ | ( | self, | |
| str | address, | ||
| control_pb2.ClientConfig | config, | ||
| histogram.Histogram | hist | ||
| ) |
Reimplemented in benchmark_client.ServerStreamingAsyncBenchmarkClient, benchmark_client.StreamingAsyncBenchmarkClient, and benchmark_client.UnaryAsyncBenchmarkClient.
Definition at line 46 of file aio/benchmark/benchmark_client.py.
|
private |
Definition at line 97 of file aio/benchmark/benchmark_client.py.
| None benchmark_client.BenchmarkClient.run | ( | self | ) |
Reimplemented in benchmark_client.ServerStreamingAsyncBenchmarkClient, benchmark_client.StreamingAsyncBenchmarkClient, and benchmark_client.UnaryAsyncBenchmarkClient.
Definition at line 91 of file aio/benchmark/benchmark_client.py.
| None benchmark_client.BenchmarkClient.stop | ( | self | ) |
Reimplemented in benchmark_client.ServerStreamingAsyncBenchmarkClient, benchmark_client.StreamingAsyncBenchmarkClient, and benchmark_client.UnaryAsyncBenchmarkClient.
Definition at line 94 of file aio/benchmark/benchmark_client.py.
|
private |
Definition at line 63 of file aio/benchmark/benchmark_client.py.
|
private |
Definition at line 88 of file aio/benchmark/benchmark_client.py.
|
private |
Definition at line 73 of file aio/benchmark/benchmark_client.py.
|
private |
Definition at line 86 of file aio/benchmark/benchmark_client.py.
|
private |
Definition at line 78 of file aio/benchmark/benchmark_client.py.
|
private |
Definition at line 87 of file aio/benchmark/benchmark_client.py.
|
private |
Definition at line 74 of file aio/benchmark/benchmark_client.py.