Go to the documentation of this file.
26 #include "absl/strings/str_cat.h"
42 return grpc_channel_args_find_pointer<ResourceQuota>(
args,
56 builder->channel_args_preconditioning()->RegisterStage(
67 static std::atomic<uintptr_t> anonymous_counter{0};
70 ?
absl::StrCat(
"anonymous-quota-", anonymous_counter.fetch_add(1))
95 ->SetMax(new_max_threads);
void grpc_resource_quota_unref(grpc_resource_quota *resource_quota)
std::string StrCat(const AlphaNum &a, const AlphaNum &b)
struct grpc_resource_quota grpc_resource_quota
#define GRPC_ARG_RESOURCE_QUOTA
ResourceQuotaRefPtr resource_quota
void grpc_resource_quota_set_max_threads(grpc_resource_quota *resource_quota, int new_max_threads)
constexpr absl::remove_reference_t< T > && move(T &&t) noexcept
const RefCountedPtr< ThreadQuota > & thread_quota()
void grpc_resource_quota_ref(grpc_resource_quota *resource_quota)
MemoryQuotaRefPtr memory_quota()
grpc_resource_quota * grpc_resource_quota_create(const char *name)
static ResourceQuotaRefPtr Default()
void RegisterResourceQuota(CoreConfiguration::Builder *builder)
void grpc_resource_quota_resize(grpc_resource_quota *resource_quota, size_t new_size)
ResourceQuotaRefPtr ResourceQuotaFromChannelArgs(const grpc_channel_args *args)
grpc_core::ExecCtx exec_ctx
ChannelArgs EnsureResourceQuotaInChannelArgs(ChannelArgs args)
const grpc_arg_pointer_vtable * grpc_resource_quota_arg_vtable()
static ResourceQuota * FromC(grpc_resource_quota *c_type)
RefCountedPtr< Child > Ref() GRPC_MUST_USE_RESULT
grpc
Author(s):
autogenerated on Thu Mar 13 2025 02:58:31