Invalidate and remove the named timetable from this cache.
Synopsis
Declared in <bdlt_timetablecache.h>
int
invalidate(char const* timetableName);
Description
Invalidate the timetable having the specified timetableName in this timetable cache, and remove it from the cache. If a timetable having timetableName is not present in this cache, this method has no effect. Return the number of timetables that were invalidated. Note that a timetable that has been invalidated in the cache remains valid to all outstanding references to it, obtained via earlier calls to the getTimetable and lookupTimetable methods, until all of those references have been destroyed.
Return Value
number of timetables invalidated
Parameters
Name |
Description |
timetableName |
name of the timetable to invalidate |
Created with MrDocs