[#BloombergLP-bdlt-TimetableCache-2constructor-00]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::xref:BloombergLP/bdlt/TimetableCache.adoc[TimetableCache]::TimetableCache
:relfileprefix: ../../../
:mrdocs:

Create an empty timetable cache that uses the specified `loader` to load timetables on demand and has no timeout&period; Optionally specify a `basicAllocator` used to supply memory&period; If `basicAllocator` is 0, the currently installed default allocator is used&period; Timetables loaded into this cache remain valid for retrieval until they have been explicitly invalidated (via either the `invalidate` or `invalidateAll` methods), or until this object is destroyed&period; The behavior is undefined unless `loader` remains valid throughout the lifetime of this cache&period;

== Synopsis

Declared in `&lt;bdlt&lowbar;timetablecache&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
TimetableCache(
    xref:BloombergLP/bdlt/TimetableLoader.adoc[TimetableLoader]* loader,
    xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0);
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
