author | Florian Forster <sifnfors@informatik.stud.uni-erlangen.de> | |
Mon, 17 Dec 2007 14:37:01 +0000 (15:37 +0100) | ||
committer | Florian Forster <sifnfors@informatik.stud.uni-erlangen.de> | |
Mon, 17 Dec 2007 14:37:01 +0000 (15:37 +0100) | ||
commit | 1d5a1b3e8e3629c76ba92356ecfa8dfd576e5843 | |
tree | d3f4487619b1200ba5336bda2815bac873ad0d72 | tree | snapshot |
parent | 79dab1613955126520ab36e772f0afb596fd51dc | commit | diff |
utils_{cache,threshold}.[ch]: Implemented the ``check interesting'' function.
The cache now checks if a missing value would be ``interesting'', i. e. if a
threshold is configured for it. If so, a notification is send and the entry is
_not_ removed from the cache. Otherwise, no notification is sent and the entry
is removed.
The changes have been tested a little and should basically work.
The cache now checks if a missing value would be ``interesting'', i. e. if a
threshold is configured for it. If so, a notification is send and the entry is
_not_ removed from the cache. Otherwise, no notification is sent and the entry
is removed.
The changes have been tested a little and should basically work.
src/utils_cache.c | diff | blob | history | |
src/utils_threshold.c | diff | blob | history | |
src/utils_threshold.h | diff | blob | history |