BloombergLP::bdlt::CalendarCache::invalidateAll

Invalidate and remove all calendars from this cache.

Synopsis

Declared in <bdlt_calendarcache.h>

int
invalidateAll();

Description

Invalidate all calendars in this calendar cache, and remove them from the cache. Return the number of calendars that were invalidated. Note that a calendar that has been invalidated in the cache remains valid to all outstanding references to it, obtained via earlier calls to the getCalendar and lookupCalendar methods, until all of those references have been destroyed.

Return Value

number of calendars invalidated