COomMonitorPluginV2 Class Reference
class COomMonitorPluginV2 : public COomMonitorPlugin |
Member Functions Documentation
FreeRam()
IMPORT_C void | FreeRam | ( | ) | [virtual] |
FreeRam is called when the system RAM level becomes low. This plugin is requested to help free some RAM.
Note that OomMonitorV2 will not call this version of the function so it does not need to be implemented.
FreeRam(TInt)
void | FreeRam | ( | TInt | aBytesToFree | ) | [pure virtual] |
FreeRam is called when the system RAM level becomes low. This plugin is requested to help free some RAM. Note that it is desirable to delete all memory associated with this plugin if not using a disconnected chunk. The reason for this is that by only releasing a small amount of the memory you reduce the chances of that memory being at the end of the chunk and therefore reduce the likelihood of it being released to the system.
Parameters
TInt aBytesToFree | The minimum number of bytes of free memory that the plugin should try to free. |
MemoryGood()
void | MemoryGood | ( | ) | [pure virtual] |
MemoryGood is called when the system RAM level becomes good after being low.The plugin may take this opportunity to start using RAM again. Nb It is assumed that the plugin will not immediately cause a large increase in memory use, but that memory may be used over time, otherwise the plugin may cause oscillation between low and good memory states.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.