Home | History | Annotate | Download | only in util

Lines Matching full:expired

29  * An LRU cache in which all items can be marked as expired at a given time and it is possible to
30 * query whether a particular cached value is expired or not.
45 * We might also want to fetch the contact information again if the item is expired.
68 * The values will be still available from the cache, but they will be expired.
70 * If interested only in the value itself, not whether it is expired or not, one should use the
71 * {@link #getPossiblyExpired(Object)} method. If interested only in non-expired values, one should
77 * Since the underlying cache maps keys to cached values it can determine which items are expired
78 * and which are not, allowing for an implementation that evicts expired items before non expired
92 * value is expired.
101 * Checks whether the value, while still being present in the cache, is expired.
103 * @return true if the value is expired
149 * expired.
164 * expired or not.
166 * If not interested in whether the value is expired, use {@link #getPossiblyExpired(Object)}
169 * If only wants values that are not expired, use {@link #get(Object)} instead.
180 * When using this method, it is not possible to determine whether the value is expired or not.
182 * {@link #getCachedValue(Object)} to determine if an item is expired, one should use the item
195 * Returns the value for the given key only if it is not expired, or null if no value exists or
196 * is expired.
199 * associated value is expired.
212 * Newly added item will not be expired until {@link #expireAll()} is next called.
222 * Mark all items currently in the cache as expired.
224 * Newly added items after this call will be marked as not expired.