Project

General

Profile

« Previous | Next » 

Revision 4beb0a8b

Added by Nathan Scott about 17 years ago

  • ID 4beb0a8bb234b74859b327423ea0989ebcd816f8

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.

  • label_added
  • modified
  • copied
  • renamed
  • deleted