![]() |
Cuberite
A lightweight, fast and extensible game server for Minecraft
|
#include <AllocationPool.h>
Public Member Functions | |
virtual void | OnEndUsingReserve ()=0 |
Is called once the reserve buffer has returned to normal size. More... | |
virtual void | OnOutOfReserve ()=0 |
Is called when the allocation pool is unable to allocate memory. More... | |
virtual void | OnStartUsingReserve ()=0 |
Is called when the reserve buffer starts to be used. More... | |
virtual | ~cStarvationCallbacks () |
Definition at line 12 of file AllocationPool.h.
|
inlinevirtual |
Definition at line 15 of file AllocationPool.h.
|
pure virtual |
Is called once the reserve buffer has returned to normal size.
Implemented in cChunkMap::cStarvationCallbacks, and cChunkDataCopyCollector::MemCallbacks.
|
pure virtual |
Is called when the allocation pool is unable to allocate memory.
Will be repeatedly called if it does not free sufficient memory
Implemented in cChunkMap::cStarvationCallbacks, and cChunkDataCopyCollector::MemCallbacks.
|
pure virtual |
Is called when the reserve buffer starts to be used.
Implemented in cChunkMap::cStarvationCallbacks, and cChunkDataCopyCollector::MemCallbacks.