Searched refs:ServerRetryThrottleData (Results 1 – 4 of 4) sorted by relevance
40 ServerRetryThrottleData::ServerRetryThrottleData( in ServerRetryThrottleData() function in grpc_core::internal::ServerRetryThrottleData42 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 …]
30 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(
66 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;
29 TEST(ServerRetryThrottleData, Basic) { in TEST() argument34 MakeRefCounted<ServerRetryThrottleData>(4000, 1600, nullptr); in TEST()68 TEST(ServerRetryThrottleData, Replacement) { in TEST() argument74 MakeRefCounted<ServerRetryThrottleData>(4000, 1000, nullptr); in TEST()81 auto throttle_data = MakeRefCounted<ServerRetryThrottleData>( in TEST()