/** * Is the key in the negative lookup cache? * * @since 0.9.4 */ boolean isNegativeCached(Hash key) { boolean rv = _negativeCache.isCached(key); if (rv) _context.statManager().addRateData("netDb.negativeCache", 1); return rv; }
/** * Increment in the negative lookup cache * * @since 0.9.4 */ void lookupFailed(Hash key) { _negativeCache.lookupFailed(key); }