Home
last modified time | relevance | path

Searched refs:ServerRetryThrottleData (Results 1 – 4 of 4) sorted by relevance

/external/grpc-grpc/src/core/ext/filters/client_channel/
Dretry_throttle.cc40 ServerRetryThrottleData::ServerRetryThrottleData( in ServerRetryThrottleData() function in grpc_core::internal::ServerRetryThrottleData
42 ServerRetryThrottleData* old_throttle_data) in ServerRetryThrottleData()
68 ServerRetryThrottleData::~ServerRetryThrottleData() { in ~ServerRetryThrottleData()
69 ServerRetryThrottleData* replacement = in ~ServerRetryThrottleData()
70 reinterpret_cast<ServerRetryThrottleData*>( in ~ServerRetryThrottleData()
77 void ServerRetryThrottleData::GetReplacementThrottleDataIfNeeded( in GetReplacementThrottleDataIfNeeded()
78 ServerRetryThrottleData** throttle_data) { in GetReplacementThrottleDataIfNeeded()
80 ServerRetryThrottleData* new_throttle_data = in GetReplacementThrottleDataIfNeeded()
81 reinterpret_cast<ServerRetryThrottleData*>( in GetReplacementThrottleDataIfNeeded()
88 bool ServerRetryThrottleData::RecordFailure() { in RecordFailure()
[all …]
Dretry_throttle.h30 class ServerRetryThrottleData : public RefCounted<ServerRetryThrottleData> {
32 ServerRetryThrottleData(intptr_t max_milli_tokens, intptr_t milli_token_ratio,
33 ServerRetryThrottleData* old_throttle_data);
49 ~ServerRetryThrottleData();
52 ServerRetryThrottleData** throttle_data);
73 static RefCountedPtr<ServerRetryThrottleData> GetDataForServer(
Dclient_channel.cc66 using grpc_core::internal::ServerRetryThrottleData;
103 grpc_core::RefCountedPtr<ServerRetryThrottleData> retry_throttle_data;
229 grpc_core::RefCountedPtr<ServerRetryThrottleData> retry_throttle_data;
924 grpc_core::RefCountedPtr<ServerRetryThrottleData> retry_throttle_data;
/external/grpc-grpc/test/core/client_channel/
Dretry_throttle_test.cc29 TEST(ServerRetryThrottleData, Basic) { in TEST() argument
34 MakeRefCounted<ServerRetryThrottleData>(4000, 1600, nullptr); in TEST()
68 TEST(ServerRetryThrottleData, Replacement) { in TEST() argument
74 MakeRefCounted<ServerRetryThrottleData>(4000, 1000, nullptr); in TEST()
81 auto throttle_data = MakeRefCounted<ServerRetryThrottleData>( in TEST()