19 #ifndef GRPCPP_RESOURCE_QUOTA_H 20 #define GRPCPP_RESOURCE_QUOTA_H 68 #endif // GRPCPP_RESOURCE_QUOTA_H
std::string string
Definition: config.h:35
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:38
ResourceQuota & SetMaxThreads(int new_max_threads)
Set the max number of threads that can be allocated from this ResourceQuota object.
An Alarm posts the user provided tag to its associated completion queue upon expiry or cancellation...
Definition: alarm.h:31
grpc_resource_quota * c_resource_quota() const
Definition: resource_quota.h:57
struct grpc_resource_quota grpc_resource_quota
Definition: grpc_types.h:623
ResourceQuota & Resize(size_t new_size)
Resize this ResourceQuota to a new size.