Go to the documentation of this file.
19 #ifndef GRPCPP_RESOURCE_QUOTA_H
20 #define GRPCPP_RESOURCE_QUOTA_H
68 #endif // GRPCPP_RESOURCE_QUOTA_H
An Alarm posts the user-provided tag to its associated completion queue or invokes the user-provided ...
Definition: alarm.h:33
struct grpc_resource_quota grpc_resource_quota
Definition: grpc_types.h:400
ResourceQuota & SetMaxThreads(int new_max_threads)
Set the max number of threads that can be allocated from this ResourceQuota object.
grpc_resource_quota * c_resource_quota() const
Definition: resource_quota.h:57
~ResourceQuota() override
ResourceQuota represents a bound on memory and thread usage by the gRPC library.
Definition: resource_quota.h:34
Classes that require gRPC to be initialized should inherit from this class.
Definition: grpc_library.h:32
ResourceQuota & Resize(size_t new_size)
Resize this ResourceQuota to a new size.