Class TOpenAddressingTombstones

Unit

Declaration

type TOpenAddressingTombstones<TKey,TValue,THashFactory,TProbeSequence> = class abstract(TOpenAddressing<TKey,TValue,THashFactory,TProbeSequence>)

Description

More info and TODO https://github.com/OpenHFT/UntitledCollectionsProject/wiki/Tombstones-purge-from-hashtable:-theory-and-practice

Hierarchy

Overview

Fields

Private FTombstonesCount: SizeInt;

Methods

Protected function Rehash(ASizePow2: SizeInt; AForce: Boolean = False): boolean; override;
Protected function RealItemsLength: SizeInt; override;
Protected function FindBucketIndexOrTombstone(constref AItems: TArray<TItem>; constref AKey: TKey; out AHash: UInt32): SizeInt; virtual; abstract;
Protected function DoRemove(AIndex: SizeInt; ACollectionNotification: TCollectionNotification): TValue; override;
Protected function DoAdd(constref AKey: TKey; constref AValue: TValue): SizeInt; override;
Public procedure ClearTombstones; virtual;
Public procedure Clear; override;

Properties

Public property TombstonesCount: SizeInt read FTombstonesCount;

Description

Fields

Private FTombstonesCount: SizeInt;
 

Methods

Protected function Rehash(ASizePow2: SizeInt; AForce: Boolean = False): boolean; override;
 
Protected function RealItemsLength: SizeInt; override;
 
Protected function FindBucketIndexOrTombstone(constref AItems: TArray<TItem>; constref AKey: TKey; out AHash: UInt32): SizeInt; virtual; abstract;
 
Protected function DoRemove(AIndex: SizeInt; ACollectionNotification: TCollectionNotification): TValue; override;
 
Protected function DoAdd(constref AKey: TKey; constref AValue: TValue): SizeInt; override;
 
Public procedure ClearTombstones; virtual;
 
Public procedure Clear; override;
 

Properties

Public property TombstonesCount: SizeInt read FTombstonesCount;
 

Generated by PasDoc 0.15.0.