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

Synopsis

Declared in <bdlcc_cache.h>

int
insertBulk(bsl::vector<KVType> const& data);

Description

Insert the specified data (composed of Key‐Value pairs) 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

data

key‐value pairs to insert

Created with MrDocs