![]() | ObjectPoolT Class |
Namespace: Slash.Collections.Pools
The ObjectPoolT type exposes the following members.
Name | Description | |
---|---|---|
![]() | ObjectPoolT(Int32) |
Creates a new pool with the specified initial and maximum capacity.
|
![]() | ObjectPoolT(Int32, ObjectPoolTCreatePoolObjectDelegate) |
Creates a new pool with the specified initial and maximum capacity.
|
Name | Description | |
---|---|---|
![]() | Capacity |
Maximum capacity of the pool.
|
![]() | CreatePoolObject |
Creates a new object to be added to the pool.
|
Name | Description | |
---|---|---|
![]() | Alloc |
Returns a pooled object, if there are any left, or a new one, otherwise.
|
![]() | Free |
Returns the passed object to this pool, if it's not already at maximum capacity.
|