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