[#BloombergLP-bdlt-DefaultTimetableCache-initialize-02]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::xref:BloombergLP/bdlt/DefaultTimetableCache.adoc[DefaultTimetableCache]::initialize
:relfileprefix: ../../../
:mrdocs:

`initialize` overloads

== Synopses

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

Initialize the default timetable cache with no timeout&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
xref:BloombergLP/bdlt/DefaultTimetableCache/initialize-04.adoc[initialize](
    xref:BloombergLP/bdlt/TimetableLoader.adoc[TimetableLoader]* loader,
    xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* allocator);
----

[.small]#xref:BloombergLP/bdlt/DefaultTimetableCache/initialize-04.adoc[_» more&period;&period;&period;_]#

Initialize the default timetable cache with a timeout&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
xref:BloombergLP/bdlt/DefaultTimetableCache/initialize-07.adoc[initialize](
    xref:BloombergLP/bdlt/TimetableLoader.adoc[TimetableLoader]* loader,
    xref:BloombergLP/bsls/TimeInterval.adoc[bsls::TimeInterval] const& timeout,
    xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* allocator);
----

[.small]#xref:BloombergLP/bdlt/DefaultTimetableCache/initialize-07.adoc[_» more&period;&period;&period;_]#

== Return Value

0 on success, and a non&hyphen;zero value otherwise

== Parameters

[cols="1,4"]
|===
| Name| Description
| *loader*
| timetable loader used to obtain timetables
| *allocator*
| allocator used to supply memory
| *timeout*
| interval after which cached timetables expire
|===


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