Constructors
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...
| Name | Description |
|---|---|
| loader | calendar loader used on demand |
| basicAllocator | allocator used to supply memory |
| timeout | interval after which cached calendars expire |