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

#include <memory_quota.h>

Public Member Functions

void Finish ()
 
bool IsSufficient () const
 
ReclamationSweepoperator= (const ReclamationSweep &)=delete
 
ReclamationSweepoperator= (ReclamationSweep &&)=default
 
 ReclamationSweep ()=default
 
 ReclamationSweep (const ReclamationSweep &)=delete
 
 ReclamationSweep (ReclamationSweep &&)=default
 
 ReclamationSweep (std::shared_ptr< BasicMemoryQuota > memory_quota, uint64_t sweep_token, Waker waker)
 
 ~ReclamationSweep ()
 

Private Attributes

std::shared_ptr< BasicMemoryQuotamemory_quota_
 
uint64_t sweep_token_
 
Waker waker_
 

Detailed Description

Definition at line 88 of file memory_quota.h.

Constructor & Destructor Documentation

◆ ReclamationSweep() [1/4]

grpc_core::ReclamationSweep::ReclamationSweep ( )
default

◆ ReclamationSweep() [2/4]

grpc_core::ReclamationSweep::ReclamationSweep ( std::shared_ptr< BasicMemoryQuota memory_quota,
uint64_t  sweep_token,
Waker  waker 
)
inline

Definition at line 91 of file memory_quota.h.

◆ ~ReclamationSweep()

grpc_core::ReclamationSweep::~ReclamationSweep ( )

Definition at line 53 of file memory_quota.cc.

◆ ReclamationSweep() [3/4]

grpc_core::ReclamationSweep::ReclamationSweep ( const ReclamationSweep )
delete

◆ ReclamationSweep() [4/4]

grpc_core::ReclamationSweep::ReclamationSweep ( ReclamationSweep &&  )
default

Member Function Documentation

◆ Finish()

void grpc_core::ReclamationSweep::Finish ( )
inline

Definition at line 113 of file memory_quota.h.

◆ IsSufficient()

bool grpc_core::ReclamationSweep::IsSufficient ( ) const

◆ operator=() [1/2]

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

◆ operator=() [2/2]

ReclamationSweep& grpc_core::ReclamationSweep::operator= ( ReclamationSweep &&  )
default

Member Data Documentation

◆ memory_quota_

std::shared_ptr<BasicMemoryQuota> grpc_core::ReclamationSweep::memory_quota_
private

Definition at line 118 of file memory_quota.h.

◆ sweep_token_

uint64_t grpc_core::ReclamationSweep::sweep_token_
private

Definition at line 119 of file memory_quota.h.

◆ waker_

Waker grpc_core::ReclamationSweep::waker_
private

Definition at line 120 of file memory_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