BloombergLP::bdlt::TimetableCache::TimetableCache

Constructors

Synopses

Declared in <bdlt_timetablecache.h>

Create an empty timetable cache with no timeout.

explicit
TimetableCache(
    TimetableLoader* loader,
    bslma::Allocator* basicAllocator = 0);
» more...

Create a timetable cache with the specified loader and timeout.

TimetableCache(
    TimetableLoader* loader,
    bsls::TimeInterval const& timeout,
    bslma::Allocator* basicAllocator = 0);
» more...

Parameters

NameDescription
loaderloader used to load timetables on demand
basicAllocatorallocator used to supply memory
timeoutinterval after which cached timetables expire