Click or drag to resize

GenericObjectPoolT Properties

[This is preliminary documentation and is subject to change.]

The GenericObjectPoolT generic type exposes the following members.

Properties
  NameDescription
Public propertyCanAcquire

Gets a value indicating whether an instance can be acquired from the pool.

An instance can be acquired when the pool contains at least one instance, or when InstantiateWhenEmpty is .

Public propertyCount
Gets the number of objects currently contained by the pool.
Public propertyInstantiateWhenEmpty
Gets or sets a value indicating whether to instantiate a new object when the pool is empty, and an attempt is made to acquire from the pool.
Public propertyIsEmpty
Gets a value indicating whether the pool is empty and contains no objects.
Public propertyIsFull
Gets a value indicating whether the pool is full, and cannot contain any more objects.
Public propertyItems
Gets a list of items currently contained by the pool.
Public propertyLogMessages
Gets or sets the level of log messaging that the pool will output.
Public propertyMaximumSize
Gets or sets the maximum size of the pool, which is the maximum number of objects it can contain.
Public propertyRecordStatistics
Gets or sets a value indicating whether to record pool statistics.
Public propertyStatistics
Gets an object containing general operational statistics about the pool.
Top
See Also