ICache.whenEarlierThanOldestItem

Called when the time value returned by now() is less than the time of last access of the oldest record in the cache; may be overridden by a subclass to be notified if this happens. With the system time as external data source this can theoretically happen and is at least not a program bug so in this class assert() would be inappropriate.

class ICache
protected
void
whenEarlierThanOldestItem
(
time_t now
,
time_t oldest
)

Parameters

now time_t

time value reported by now()

oldest time_t

last access time of the oldest record in the cache

Meta