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

TLazThreadedQueue.QueueSize

Number of storage slots for items in the queue.

Declaration

Source position: lazcollections.pas line 114

public property TLazThreadedQueue.QueueSize : Integer
  read GetQueueSize;

Description

QueueSize is a read-only Integer property that indicates the number of storage slots available in the internal storage for the queue. The initial value for QueueSize is set using an argument passed to the constructor.

Use the Grow method to adjust the number of slots in the internal storage for the queue.

Values in the TotalItemsPushed, TotalItemsPopped, and QueueSize properties determine if storage and/or items are available in the queue.

See also

TLazThreadedQueue.TotalItemsPopped

  

Total number of items removed from the queue.

TLazThreadedQueue.TotalItemsPushed

  

Total number of items added to the queue.

TLazThreadedQueue.Create

  

Constructor for the class instance.

TLazThreadedQueue.PushItem

  

Adds the specified item to the queue.

TLazThreadedQueue.PopItem

  

Pops the next item from the queue.

TLazThreadedQueue.PopItemTimeout

  

Pops an item off the queue with a timeout value.


Version 4.0 Generated 2025-05-03 Home