Home
last modified time | relevance | path

Searched refs:ServerRetryThrottleData (Results 1 – 7 of 7) 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/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/
Dretry_throttle.cc42 ServerRetryThrottleData::ServerRetryThrottleData( in ServerRetryThrottleData() function in grpc_core::internal::ServerRetryThrottleData
44 ServerRetryThrottleData* old_throttle_data) in ServerRetryThrottleData()
70 ServerRetryThrottleData::~ServerRetryThrottleData() { in ~ServerRetryThrottleData()
71 ServerRetryThrottleData* replacement = in ~ServerRetryThrottleData()
72 reinterpret_cast<ServerRetryThrottleData*>( in ~ServerRetryThrottleData()
79 void ServerRetryThrottleData::GetReplacementThrottleDataIfNeeded( in GetReplacementThrottleDataIfNeeded()
80 ServerRetryThrottleData** throttle_data) { in GetReplacementThrottleDataIfNeeded()
82 ServerRetryThrottleData* new_throttle_data = in GetReplacementThrottleDataIfNeeded()
83 reinterpret_cast<ServerRetryThrottleData*>( in GetReplacementThrottleDataIfNeeded()
90 bool ServerRetryThrottleData::RecordFailure() { in RecordFailure()
[all …]
Dretry_throttle.h33 class ServerRetryThrottleData : public RefCounted<ServerRetryThrottleData> {
35 ServerRetryThrottleData(intptr_t max_milli_tokens, intptr_t milli_token_ratio,
36 ServerRetryThrottleData* old_throttle_data);
37 ~ServerRetryThrottleData() override;
50 ServerRetryThrottleData** throttle_data);
71 static RefCountedPtr<ServerRetryThrottleData> GetDataForServer(
Dclient_channel.cc113 using internal::ServerRetryThrottleData;
545 RefCountedPtr<ServerRetryThrottleData> retry_throttle_data,
829 RefCountedPtr<ServerRetryThrottleData> retry_throttle_data_;
1057 auto* retry_throttle_data = static_cast<ServerRetryThrottleData*>(p); in RetryThrottleDataArgCopy()
1062 auto* retry_throttle_data = static_cast<ServerRetryThrottleData*>(p); in RetryThrottleDataArgDestroy()
1088 RefCountedPtr<ServerRetryThrottleData> retry_throttle_data() const { in retry_throttle_data()
1093 static RefCountedPtr<ServerRetryThrottleData> GetRetryThrottleDataFromArgs( in GetRetryThrottleDataFromArgs()
1096 grpc_channel_args_find_pointer<ServerRetryThrottleData>( in GetRetryThrottleDataFromArgs()
1108 RefCountedPtr<ServerRetryThrottleData> retry_throttle_data_;
2297 RefCountedPtr<ServerRetryThrottleData> retry_throttle_data; in UpdateServiceConfigInDataPlaneLocked()
[all …]
/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()