folly::bskip_detail::InsertSemantics

How an insertion treats an existing live exact-match key.

Synopsis

Declared in <folly/ConcurrentBSkipList.h>

enum class InsertSemantics : int;

Description

Add reports AlreadyPresent; AddOrUpdate fires the updater.

Members

NameDescription
Add Do not overwrite an existing live key.
AddOrUpdate Update an existing live key via the updater.