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
Classes that require gRPC to be initialized should inherit from this class.
Definition: grpc_library.h:38
This header provides an object that reads bytes directly from a grpc::ByteBuffer, via the ZeroCopyInp...
Definition: alarm.h:24
struct grpc_resource_quota grpc_resource_quota
Definition: grpc_types.h:696
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 represents a bound on memory and thread usage by the gRPC library.
Definition: resource_quota.h:34
ResourceQuota & Resize(size_t new_size)
Resize this ResourceQuota to a new size.