You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Zero/ZeroLevel/Services/MemoryPools/Collections/Specialized/PoolingStackCanon.cs

13 lines
410 B

namespace MemoryPools.Collections.Specialized
{
/// <summary>
/// Collection, which is working on shared btw all Pooling* collections buckets
/// </summary>
public class PoolingStackCanon<T> : PoolingStackBase<T> where T : class
{
protected override IPoolingNode<T> CreateNodeHolder()
{
return (IPoolingNode<T>) Pool<PoolingNodeCanon<T>>.Get().Init(PoolsDefaults.DefaultPoolBucketSize);
}
}
}

Powered by TurnKey Linux.