Insert the specified range of key‐value pairs into this cache.

Synopsis

Declared in <bdlcc_cache.h>

template<class INPUT_ITERATOR>
int
insertBulk(
    INPUT_ITERATOR begin,
    INPUT_ITERATOR end);

Description

Insert the specified range of Key‐Value pairs specified by [ begin, end )] into this cache. If a key already exists, then its value will be replaced with the value. Return the number of items successfully inserted.

Return Value

the number of items successfully inserted

Parameters

Name

Description

begin

beginning of the key‐value range

end

end of the key‐value range

Created with MrDocs