resource_quota_cc.cc
Go to the documentation of this file.
1 /*
2  *
3  * Copyright 2016 gRPC authors.
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  */
18 
19 #include <stddef.h>
20 
21 #include <string>
22 
23 #include <grpc/grpc.h>
24 #include <grpcpp/resource_quota.h>
25 #include <grpcpp/support/config.h>
26 
27 namespace grpc {
28 
30 
33 
35 
38  return *this;
39 }
40 
43  return *this;
44 }
45 } // namespace grpc
grpc::ResourceQuota::ResourceQuota
ResourceQuota()
Definition: resource_quota_cc.cc:29
grpc::ResourceQuota::impl_
grpc_resource_quota *const impl_
Definition: include/grpcpp/resource_quota.h:63
grpc
Definition: grpcpp/alarm.h:33
grpc::ResourceQuota::Resize
ResourceQuota & Resize(size_t new_size)
Definition: resource_quota_cc.cc:36
testing::internal::string
::std::string string
Definition: bloaty/third_party/protobuf/third_party/googletest/googletest/include/gtest/internal/gtest-port.h:881
binary_size.new_size
def new_size
Definition: binary_size.py:124
grpc::ResourceQuota
Definition: include/grpcpp/resource_quota.h:34
grpc_resource_quota_create
GRPCAPI grpc_resource_quota * grpc_resource_quota_create(const char *trace_name)
Definition: api.cc:66
setup.name
name
Definition: setup.py:542
gen_stats_data.c_str
def c_str(s, encoding='ascii')
Definition: gen_stats_data.py:38
grpc_resource_quota_set_max_threads
GRPCAPI void grpc_resource_quota_set_max_threads(grpc_resource_quota *resource_quota, int new_max_threads)
Definition: api.cc:91
impl_
std::shared_ptr< ExternalConnectionAcceptorImpl > impl_
Definition: external_connection_acceptor_impl.cc:43
grpc.h
grpc::ResourceQuota::SetMaxThreads
ResourceQuota & SetMaxThreads(int new_max_threads)
Definition: resource_quota_cc.cc:41
config.h
grpc_resource_quota_resize
GRPCAPI void grpc_resource_quota_resize(grpc_resource_quota *resource_quota, size_t new_size)
Definition: api.cc:83
grpc_resource_quota_unref
GRPCAPI void grpc_resource_quota_unref(grpc_resource_quota *resource_quota)
Definition: api.cc:79
resource_quota.h
grpc::ResourceQuota::~ResourceQuota
~ResourceQuota() override
Definition: resource_quota_cc.cc:34


grpc
Author(s):
autogenerated on Fri May 16 2025 03:00:04