#include <memory_quota.h>

Classes | |
| class | Sweep |
| class | SweepFn |
Public Member Functions | |
| Handle ()=default | |
| Handle (const Handle &)=delete | |
| template<typename F > | |
| Handle (F reclaimer, std::shared_ptr< State > state) | |
| Handle & | operator= (const Handle &)=delete |
| void | Orphan () final |
| bool | Requeue (ReclaimerQueue *new_queue) |
| void | Run (ReclamationSweep reclamation_sweep) |
| ~Handle () override | |
Public Member Functions inherited from grpc_core::InternallyRefCounted< Handle > | |
| InternallyRefCounted (const InternallyRefCounted &)=delete | |
| InternallyRefCounted & | operator= (const InternallyRefCounted &)=delete |
Public Member Functions inherited from grpc_core::Orphanable | |
| Orphanable & | operator= (const Orphanable &)=delete |
| Orphanable (const Orphanable &)=delete | |
Private Attributes | |
| std::atomic< Sweep * > | sweep_ {nullptr} |
Friends | |
| class | ReclaimerQueue |
Additional Inherited Members | |
Protected Member Functions inherited from grpc_core::InternallyRefCounted< Handle > | |
| InternallyRefCounted (const char *trace=nullptr, intptr_t initial_refcount=1) | |
| RefCountedPtr< Handle > | Ref () GRPC_MUST_USE_RESULT |
| RefCountedPtr< Handle > | Ref (const DebugLocation &location, const char *reason) GRPC_MUST_USE_RESULT |
| void | Unref () |
| void | Unref (const DebugLocation &location, const char *reason) |
| ~InternallyRefCounted () override=default | |
Protected Member Functions inherited from grpc_core::Orphanable | |
| Orphanable () | |
| virtual | ~Orphanable () |
Definition at line 129 of file memory_quota.h.
|
default |
|
inlineexplicit |
Definition at line 133 of file memory_quota.h.
|
inlineoverride |
Definition at line 135 of file memory_quota.h.
|
finalvirtual |
Implements grpc_core::Orphanable.
Definition at line 83 of file memory_quota.cc.
| bool grpc_core::ReclaimerQueue::Handle::Requeue | ( | ReclaimerQueue * | new_queue | ) |
Definition at line 96 of file memory_quota.cc.
| void grpc_core::ReclaimerQueue::Handle::Run | ( | ReclamationSweep | reclamation_sweep | ) |
Definition at line 90 of file memory_quota.cc.
|
friend |
Definition at line 147 of file memory_quota.h.
|
private |
Definition at line 178 of file memory_quota.h.