Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
grpc_core::ResourceQuota Class Reference

#include <resource_quota.h>

Inheritance diagram for grpc_core::ResourceQuota:
Inheritance graph
[legend]

Public Member Functions

MemoryQuotaRefPtr memory_quota ()
 
ResourceQuotaoperator= (const ResourceQuota &)=delete
 
 ResourceQuota (const ResourceQuota &)=delete
 
 ResourceQuota (std::string name)
 
const RefCountedPtr< ThreadQuota > & thread_quota ()
 
 ~ResourceQuota () override
 
- Public Member Functions inherited from grpc_core::RefCounted< ResourceQuota >
RefCountedoperator= (const RefCounted &)=delete
 
RefCountedPtr< ResourceQuotaRef () GRPC_MUST_USE_RESULT
 
RefCountedPtr< ResourceQuotaRef (const DebugLocation &location, const char *reason) GRPC_MUST_USE_RESULT
 
 RefCounted (const RefCounted &)=delete
 
RefCountedPtr< ResourceQuotaRefIfNonZero () GRPC_MUST_USE_RESULT
 
RefCountedPtr< ResourceQuotaRefIfNonZero (const DebugLocation &location, const char *reason) GRPC_MUST_USE_RESULT
 
void Unref ()
 
void Unref (const DebugLocation &location, const char *reason)
 
 ~RefCounted ()=default
 
- Public Member Functions inherited from grpc_core::PolymorphicRefCount
virtual ~PolymorphicRefCount ()=default
 
- Public Member Functions inherited from grpc_core::CppImplOf< ResourceQuota, grpc_resource_quota >
grpc_resource_quotac_ptr ()
 

Static Public Member Functions

static absl::string_view ChannelArgName ()
 
static int ChannelArgsCompare (const ResourceQuota *a, const ResourceQuota *b)
 
static ResourceQuotaRefPtr Default ()
 
- Static Public Member Functions inherited from grpc_core::CppImplOf< ResourceQuota, grpc_resource_quota >
static const ResourceQuotaFromC (const grpc_resource_quota *c_type)
 
static ResourceQuotaFromC (grpc_resource_quota *c_type)
 

Private Attributes

MemoryQuotaRefPtr memory_quota_
 
RefCountedPtr< ThreadQuotathread_quota_
 

Additional Inherited Members

- Public Types inherited from grpc_core::RefCounted< ResourceQuota >
using RefCountedChildType = ResourceQuota
 
- Protected Member Functions inherited from grpc_core::RefCounted< ResourceQuota >
 RefCounted (const char *trace=nullptr, intptr_t initial_refcount=1)
 
- Protected Member Functions inherited from grpc_core::CppImplOf< ResourceQuota, grpc_resource_quota >
 ~CppImplOf ()=default
 

Detailed Description

Definition at line 40 of file src/core/lib/resource_quota/resource_quota.h.

Constructor & Destructor Documentation

◆ ResourceQuota() [1/2]

grpc_core::ResourceQuota::ResourceQuota ( std::string  name)
explicit

Definition at line 21 of file resource_quota.cc.

◆ ~ResourceQuota()

grpc_core::ResourceQuota::~ResourceQuota ( )
overridedefault

◆ ResourceQuota() [2/2]

grpc_core::ResourceQuota::ResourceQuota ( const ResourceQuota )
delete

Member Function Documentation

◆ ChannelArgName()

static absl::string_view grpc_core::ResourceQuota::ChannelArgName ( )
inlinestatic

Definition at line 49 of file src/core/lib/resource_quota/resource_quota.h.

◆ ChannelArgsCompare()

static int grpc_core::ResourceQuota::ChannelArgsCompare ( const ResourceQuota a,
const ResourceQuota b 
)
inlinestatic

Definition at line 58 of file src/core/lib/resource_quota/resource_quota.h.

◆ Default()

ResourceQuotaRefPtr grpc_core::ResourceQuota::Default ( )
static

Definition at line 27 of file resource_quota.cc.

◆ memory_quota()

MemoryQuotaRefPtr grpc_core::ResourceQuota::memory_quota ( )
inline

Definition at line 51 of file src/core/lib/resource_quota/resource_quota.h.

◆ operator=()

ResourceQuota& grpc_core::ResourceQuota::operator= ( const ResourceQuota )
delete

◆ thread_quota()

const RefCountedPtr<ThreadQuota>& grpc_core::ResourceQuota::thread_quota ( )
inline

Definition at line 53 of file src/core/lib/resource_quota/resource_quota.h.

Member Data Documentation

◆ memory_quota_

MemoryQuotaRefPtr grpc_core::ResourceQuota::memory_quota_
private

Definition at line 64 of file src/core/lib/resource_quota/resource_quota.h.

◆ thread_quota_

RefCountedPtr<ThreadQuota> grpc_core::ResourceQuota::thread_quota_
private

Definition at line 65 of file src/core/lib/resource_quota/resource_quota.h.


The documentation for this class was generated from the following files:


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