Cache handler
From Net-SNMP Wiki
Revision as of 15:12, 14 July 2011 by Wes (Talk | contribs) (Created page with "{{helper|Cache Handler|documentation=cache__handler|code=agent/helpers/cache_helper.c}} == Overview == The cache_helper is designed to do one thing: help you manage a cache of ...")
Net-SNMP MIB Helper | |
Cache Handler | |
Documentation: | doxygen API |
---|---|
Code: | agent/helpers/cache_helper.c |
Other Helpers: | Agent Helpers |
Overview
The cache_helper is designed to do one thing: help you manage a cache of data for a given mib implementation. It simply calls your load and free hooks based on how long the cache should remain valid. You define the data structures to hold the information and use your cache to respond to requests. The cache handler simply takes care of the timing about when to load it.
It is typically injected during the mib module's initialization routine.
Example
TBD