class MemoryAllocatorFactory
Defined at line 197 of file ../../third_party/grpc-migrating/src/include/grpc/event_engine/memory_allocator.h
Public Methods
MemoryAllocator CreateMemoryAllocator (absl::string_view name)
On Endpoint creation, call
to create a new
allocator for the endpoint.
is used to label the memory allocator in debug logs.
Typically we'll want to:
auto allocator = factory->CreateMemoryAllocator(peer_address_string);
auto* endpoint = allocator->New
<MyEndpoint
>(std::move(allocator), ...);
void ~MemoryAllocatorFactory ()
Defined at line 199 of file ../../third_party/grpc-migrating/src/include/grpc/event_engine/memory_allocator.h