Detailed result of an insertion into a ConcurrentBSkipList.

Synopsis

Declared in <folly/ConcurrentBSkipList.h>

enum class BSkipInsertOutcome : int;

Description

add()/addOrUpdate() collapse this to a bool via didInsert(); use the enum directly to distinguish Updated from AlreadyPresent.

Members

Name

Description

Inserted

A new key was inserted.

Revived

A tombstoned key was brought back to life.

Updated

An existing live key's payload was updated.

AlreadyPresent

The key was already present and left unchanged.

Non-Member Functions

Name

Description

didInsert

Returns whether an outcome represents a fresh insert or a revive.

Created with MrDocs