Insert the specified movable data into this cache.
Synopsis
Declared in <bdlcc_cache.h>
int
insertBulk(bslmf::MovableRef<bsl::vector<KVType>> 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. If an exception occurs during this action, we provide only the basic guarantee ‐ both this cache and data will be in some valid but unspecified state.
Return Value
the number of items successfully inserted
Parameters
Name |
Description |
data |
key‐value pairs to insert |
Created with MrDocs