The Pedigree Project  0.1
Public Member Functions | List of all members
MemoryPressureHandler Class Referenceabstract

#include <MemoryPressureManager.h>

+ Inheritance diagram for MemoryPressureHandler:
+ Collaboration diagram for MemoryPressureHandler:

Public Member Functions

virtual const String getMemoryPressureDescription ()=0
 
virtual bool compact ()=0
 

Detailed Description

MemoryPressureHandler: interface for memory pressure handlers.

Definition at line 35 of file MemoryPressureManager.h.

Member Function Documentation

virtual bool MemoryPressureHandler::compact ( )
pure virtual

Called by MemoryPressureManager to request this handler to take action to reduce memory pressure.

Returns
true if pages were released, false otherwise.

Implemented in MemoryMapManager, SlamRecovery, MemoryPoolPressureHandler, and MemoryPressureProcessKiller.


The documentation for this class was generated from the following files: