[#BloombergLP-bdlt-TimetableCache-invalidate] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::xref:BloombergLP/bdlt/TimetableCache.adoc[TimetableCache]::invalidate :relfileprefix: ../../../ :mrdocs: 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. == Synopsis Declared in `<bdlt_timetablecache.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int invalidate(char const* timetableName); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#