GenericObjectPoolT Properties |
[This is preliminary documentation and is subject to change.]
The GenericObjectPoolT generic type exposes the following members.
Name | Description | |
---|---|---|
CanAcquire | 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 . | |
Count |
Gets the number of objects currently contained by the pool.
| |
InstantiateWhenEmpty |
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.
| |
IsEmpty |
Gets a value indicating whether the pool is empty and contains no objects.
| |
IsFull |
Gets a value indicating whether the pool is full, and cannot contain any more objects.
| |
Items |
Gets a list of items currently contained by the pool.
| |
LogMessages |
Gets or sets the level of log messaging that the pool will output.
| |
MaximumSize |
Gets or sets the maximum size of the pool, which is the maximum number of objects it can contain.
| |
RecordStatistics |
Gets or sets a value indicating whether to record pool statistics.
| |
Statistics |
Gets an object containing general operational statistics about the pool.
|