The C++ framework for developing highly scalable, high performance servers on Windows platforms.

IMonitorBufferAllocation.h File Reference


namespace  JetByteTools
namespace  JetByteTools::Core
namespace  JetByteTools::IO


class  IMonitorBufferAllocation
 An interface to allow a class to monitor the operation of a class that allocates buffers. The interface assumes that buffers go through the following life-cycle: created, allocated, released, destroyed. Allocators that pool buffers can allow a buffer to be created once and then allocated and released several times before being deleted. Incrementing a counter when OnBufferCreated() is called and decrementing it when OnBufferDestroyed() is called will give you a count of the number of buffers that are in existence at any one time. A corresponding counter that is incremented in OnBufferAllocated() and decremented when OnBufferReleased() is called will give a count of the buffers that are currently in use. More...

Generated on Sun Sep 12 19:06:43 2021 for The Server Framework - v7.4 by doxygen 1.5.3