BloombergLP::bdlt::CalendarCache::CalendarCache

Constructors

Synopses

Declared in <bdlt_calendarcache.h>

Create an empty calendar cache with no timeout.

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

Create a calendar cache with the specified loader and timeout.

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

Parameters

NameDescription
loadercalendar loader used on demand
basicAllocatorallocator used to supply memory
timeoutinterval after which cached calendars expire