управлять кешем информации о домене экземпляра для PMDA (manage a cache of instance domain information for a PMDA)
Синопсис C (C Synopsis)
#include <pcp/pmapi.h>
#include <pcp/pmda.h>
int pmdaCacheStore(pmInDom
indom, int
flags, const char *
name,
void *
private);
int pmdaCacheStoreKey(pmInDom
indom, int
flags, const char *
name,
int
keylen, const void *
key, void *
private);
int pmdaCacheLookup(pmInDom
indom, int
inst, char **
name,
void **
private);
int pmdaCacheLookupName(pmInDom
indom, const char *
name,
int *
inst, void **
private);
int pmdaCacheLookupKey(pmInDom
indom, const char *
name,
int
keylen, const void *
key, char **
oname, int *
inst,
void **
private);
int pmdaCacheOp(pmInDom
indom, int
op);
int pmdaCachePurge(pmInDom
indom, time_t
recent);
int pmdaCachePurgeCallback(pmInDom
indom, time_t
recent, void
(*
callback)(void *));
int pmdaCacheResize(pmInDom
indom, int
maximum);
cc ... -lpcp_pmda -lpcp