Public Member Functions | Private Member Functions | Private Attributes | List of all members
benchmark_client.BenchmarkClient Class Reference
Inheritance diagram for benchmark_client.BenchmarkClient:
Inheritance graph
[legend]

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
 

Detailed Description

Benchmark client interface that exposes a non-blocking send_request().

Definition at line 43 of file aio/benchmark/benchmark_client.py.

Constructor & Destructor Documentation

◆ __init__()

def benchmark_client.BenchmarkClient.__init__ (   self,
str  address,
control_pb2.ClientConfig  config,
histogram.Histogram  hist 
)

Member Function Documentation

◆ _record_query_time()

None benchmark_client.BenchmarkClient._record_query_time (   self,
float  query_time 
)
private

Definition at line 97 of file aio/benchmark/benchmark_client.py.

◆ run()

None benchmark_client.BenchmarkClient.run (   self)

◆ stop()

None benchmark_client.BenchmarkClient.stop (   self)

Member Data Documentation

◆ _channel

benchmark_client.BenchmarkClient._channel
private

Definition at line 63 of file aio/benchmark/benchmark_client.py.

◆ _concurrency

benchmark_client.BenchmarkClient._concurrency
private

Definition at line 88 of file aio/benchmark/benchmark_client.py.

◆ _generic

benchmark_client.BenchmarkClient._generic
private

Definition at line 73 of file aio/benchmark/benchmark_client.py.

◆ _hist

benchmark_client.BenchmarkClient._hist
private

Definition at line 86 of file aio/benchmark/benchmark_client.py.

◆ _request

benchmark_client.BenchmarkClient._request
private

Definition at line 78 of file aio/benchmark/benchmark_client.py.

◆ _response_callbacks

benchmark_client.BenchmarkClient._response_callbacks
private

Definition at line 87 of file aio/benchmark/benchmark_client.py.

◆ _stub

benchmark_client.BenchmarkClient._stub
private

Definition at line 74 of file aio/benchmark/benchmark_client.py.


The documentation for this class was generated from the following file:


grpc
Author(s):
autogenerated on Fri May 16 2025 03:02:58