API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

IRAMCACHE_SETMAXENTRIES()

Brew Release
Brew MP 1.0.2
See Also
None
Description
This function sets the maximum number of entries allowed in the RamCache
Params
piRamCache
[]:
the IRamCache interface pointer
nNum
[]:
the new entries limit
Interface
Prototype
  •    int IRamCache_SetMaxEntries(IRamCache* piRamCache, int nNum);
    
Return
  • the old enties limit
Side Effect
  • the RamCache adjusts to its new constraint, least-recently-used entries and expired entries are removed from the RamCache
Comments
None