mirror of https://github.com/ogoun/Zero.git
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.
13 lines
410 B
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);
|
|
}
|
|
}
|
|
} |