Add a mechanism to the Perl PMDA API for simplifying fetch
routines. If the (optional) refresh function is provided,
then the pmdaFetch routine will automatically walk through
the pmidlist array, and call the refresh() routine once for
each cluster that is being requested in this fetch. Since
we do not pass the pmidlist array to the fetch routine (too
painful to convert, few Perl agents so far need it, and its
not easily used as-is), this is a nice way for more complex
Perl PMDAs to support multiple fetch mechanisms.
The MySQL PMDA which I'm currently writing (for fun), and a
second app-specific database PMDA I'm writing (for work) can
both make good use of this functionality.
Add a mechanism to the Perl PMDA API for simplifying fetch
routines. If the (optional) refresh function is provided,
then the pmdaFetch routine will automatically walk through
the pmidlist array, and call the refresh() routine once for
each cluster that is being requested in this fetch. Since
we do not pass the pmidlist array to the fetch routine (too
painful to convert, few Perl agents so far need it, and its
not easily used as-is), this is a nice way for more complex
Perl PMDAs to support multiple fetch mechanisms.
The MySQL PMDA which I'm currently writing (for fun), and a
second app-specific database PMDA I'm writing (for work) can
both make good use of this functionality.