BloombergLP::bdlt::DefaultTimetableCache::initialize

initialize overloads

Synopses

Declared in <bdlt_defaulttimetablecache.h>

Initialize the default timetable cache with no timeout.

static
int
initialize(
    TimetableLoader* loader,
    bslma::Allocator* allocator);
» more...

Initialize the default timetable cache with a timeout.

static
int
initialize(
    TimetableLoader* loader,
    bsls::TimeInterval const& timeout,
    bslma::Allocator* allocator);
» more...

Return Value

0 on success, and a non-zero value otherwise

Parameters

NameDescription
loadertimetable loader used to obtain timetables
allocatorallocator used to supply memory
timeoutinterval after which cached timetables expire