Searched refs:CAPPED_RELEVANCE_LIFETIME_MS (Results 1 – 2 of 2) sorted by relevance
83 assertEquals(RelevanceUtils.CAPPED_RELEVANCE_LIFETIME_MS, newExpiry);103 expiry - (RelevanceUtils.CAPPED_RELEVANCE_LIFETIME_MS + 1_000_000));106 expiry - RelevanceUtils.CAPPED_RELEVANCE_LIFETIME_MS);113 expiry, expiry - RelevanceUtils.CAPPED_RELEVANCE_LIFETIME_MS + 1);133 + RelevanceUtils.CAPPED_RELEVANCE_LIFETIME_MS + 5));135 + RelevanceUtils.CAPPED_RELEVANCE_LIFETIME_MS / 2);151 final long date = expiry - i * (RelevanceUtils.CAPPED_RELEVANCE_LIFETIME_MS / steps);
192 public static final long CAPPED_RELEVANCE_LIFETIME_MS = 400L * 24 * 60 * 60 * 1000; field in RelevanceUtils209 CAPPED_RELEVANCE * powF((double) CAPPED_RELEVANCE_LIFETIME_MS / HALF_LIFE_MS)210 / (1 - powF((double) CAPPED_RELEVANCE_LIFETIME_MS / HALF_LIFE_MS));254 if (delay >= CAPPED_RELEVANCE_LIFETIME_MS) return CAPPED_RELEVANCE; in computeRelevanceForTargetDate()280 return Math.min(newDuration, CAPPED_RELEVANCE_LIFETIME_MS); in bumpExpiryDuration()