Language
Edit

DataObjectPool.UnusedObjectsCount Method

Definition

Get the number of unused objects in the pool.

public int UnusedObjectsCount();
abstract member UnusedObjectsCount : unit -> int
override this.UnusedObjectsCount : unit -> int
Public Function UnusedObjectsCount () As Integer

Returns

Number of prefetched objects.

Implements

Remarks

This count does not include any prefetched objects. Note that it is possible to forfeit a prefetched object and re-use it at any time.

Applies to