[Overview][Constants][Types][Classes][Index] Reference for unit 'DynHashArray' (#lazutils)

TDynHashArrayItemMemManager

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Custom memory manager for TDynHashArrayItem instances.

Declaration

Source position: dynhasharray.pp line 139

type TDynHashArrayItemMemManager = class

public

  procedure DisposeItem();

  

Removes references to the specified hash item and adds it to the free list.

  function NewItem;

  

Allocates and initializes a new hash item for the memory manager.

  property MinimumFreeCount: Integer; [rw]

  

Minimum size for the internal free list storage.

  property MaximumFreeRatio: Integer; [rw]

  

Threshold at which items in the free list are released.

  property Count: Integer; [r]

  

Number of hash items allocated by the memory manager.

  procedure Clear;

  

Disposes of hash items in the free list.

  constructor Create;

  

Constructor for the class instance.

  destructor Destroy; override;

  

Destructor for the class instance.

  function ConsistencyCheck;

  

Ensures that Count matches the actual number of entries in the free list.

  procedure WriteDebugReport;

  

Prints out essential data to aid debugging DynHashArrayItemMemManager.

end;

Inheritance

TDynHashArrayItemMemManager

  

Custom memory manager for TDynHashArrayItem instances.

|

TObject


Version 4.0 Generated 2025-05-03 Home