Interface IGenericObjectPool<T>
A generic object pool interface
Assembly: MESL.SqlRace.Domain.dll
Syntax
public interface IGenericObjectPool<T>
where T : struct, ValueType
Type Parameters
Methods
Count()
Number of totale elements
Declaration
Returns
Type |
Description |
System.Int32 |
|
LohCount()
Number of elements in Loh
Declaration
Returns
Type |
Description |
System.Int32 |
|
Release(T[])
Release the object back to the pool
Declaration
Parameters
Type |
Name |
Description |
T[] |
item |
|
Rent(Int32)
Rent an object from the pool
Declaration
Parameters
Type |
Name |
Description |
System.Int32 |
maxLength |
|
Returns