Public Member Functions | Static Public Attributes | List of all members
framework.rpc.grpc_testing.LoadBalancerStatsServiceClient Class Reference
Inheritance diagram for framework.rpc.grpc_testing.LoadBalancerStatsServiceClient:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self, grpc.Channel channel)
 
LoadBalancerAccumulatedStatsResponse get_client_accumulated_stats (self, *Optional[int] timeout_sec=None)
 
LoadBalancerStatsResponse get_client_stats (self, *int num_rpcs, Optional[int] timeout_sec=STATS_PARTIAL_RESULTS_TIMEOUT_SEC)
 
- Public Member Functions inherited from framework.rpc.grpc.GrpcClientHelper
def __init__ (self, grpc.Channel channel, Any stub_class)
 
Message call_unary_with_deadline (self, *str rpc, Message req, Optional[int] deadline_sec=DEFAULT_RPC_DEADLINE_SEC, Optional[int] log_level=logging.DEBUG)
 

Static Public Attributes

int STATS_ACCUMULATED_RESULTS_TIMEOUT_SEC = 600
 
int STATS_PARTIAL_RESULTS_TIMEOUT_SEC = 1200
 
- Static Public Attributes inherited from framework.rpc.grpc.GrpcClientHelper
int DEFAULT_RPC_DEADLINE_SEC = 90
 

Additional Inherited Members

- Public Attributes inherited from framework.rpc.grpc.GrpcClientHelper
 channel
 
 log_service_name
 
 stub
 

Detailed Description

Definition at line 37 of file grpc_testing.py.

Constructor & Destructor Documentation

◆ __init__()

def framework.rpc.grpc_testing.LoadBalancerStatsServiceClient.__init__ (   self,
grpc.Channel  channel 
)

Definition at line 42 of file grpc_testing.py.

Member Function Documentation

◆ get_client_accumulated_stats()

LoadBalancerAccumulatedStatsResponse framework.rpc.grpc_testing.LoadBalancerStatsServiceClient.get_client_accumulated_stats (   self,
*Optional[int]   timeout_sec = None 
)

Definition at line 61 of file grpc_testing.py.

◆ get_client_stats()

LoadBalancerStatsResponse framework.rpc.grpc_testing.LoadBalancerStatsServiceClient.get_client_stats (   self,
*int  num_rpcs,
Optional[int]   timeout_sec = STATS_PARTIAL_RESULTS_TIMEOUT_SEC 
)

Definition at line 45 of file grpc_testing.py.

Member Data Documentation

◆ STATS_ACCUMULATED_RESULTS_TIMEOUT_SEC

int framework.rpc.grpc_testing.LoadBalancerStatsServiceClient.STATS_ACCUMULATED_RESULTS_TIMEOUT_SEC = 600
static

Definition at line 40 of file grpc_testing.py.

◆ STATS_PARTIAL_RESULTS_TIMEOUT_SEC

int framework.rpc.grpc_testing.LoadBalancerStatsServiceClient.STATS_PARTIAL_RESULTS_TIMEOUT_SEC = 1200
static

Definition at line 39 of file grpc_testing.py.


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


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