List |
public class ListPool
The ListPool type exposes the following members.
Name | Description | |
---|---|---|
![]() | ListPool(PoolType) | Constructor. |
![]() | ListPool(PoolType, ListInt32) | Constructor. |
![]() | ListPool(PoolType, QueueInt32, HashSetInt32) | Constructor. |
Name | Description | |
---|---|---|
![]() | Count | The total number of lists assigned to the pool |
![]() | PoolType | The type (static, dynamic or stream) of the pool |
Name | Description | |
---|---|---|
![]() | Acquire(Int32) | Try to acquire the given number of list-ids from the pool |
![]() | Acquire(Int32, Int32) | Try to acquire from the pool a number of list-ids that is within the given range (i.e. not less than minReqIDs and up to maxReqIDs) |
![]() | AddList | Add the given list-id to the pool (as a free list) |
![]() | Clear | Clears the pools. |
![]() | Clone | Create and returns a copy of the ListPool |
![]() | GetAllIDs | Returns all the list-ids assigned to the pool |
![]() | GetDebugString | Returns the status of the pool |
![]() | GetFreeIDs | Returns the free list-ids |
![]() | GetUsedIdCount | Returns the number of in-use list-ids |
![]() | Release | Release the given list of list-ids |
![]() | RemoveList | Remove the given list-id from the pool |