You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/BufferBlockObjectPool.cs
+14-14Lines changed: 14 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -19,17 +19,27 @@ public class BufferBlockObjectPool<T> : TrimmableObjectPoolBase<T>
19
19
/// Constructs an ObjectPool that when .Take() is called will return the first possible item even if one is returned to the pool before the generator function completes.
20
20
/// </summary>
21
21
/// <param name="factory">The generator function that creates the items.</param>
22
+
/// <param name="recycler">The optional function that operates on an item just before entering the pool.</param>
22
23
/// <param name="maxSize">The maximum size of the object pool. Default is ushort.MaxValue (65535).</param>
Copy file name to clipboardExpand all lines: source/ObjectPoolAutoTrimmer.cs
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -28,25 +28,25 @@ public class ObjectPoolAutoTrimmer : DisposableBase
28
28
/// <summary>
29
29
/// Constructs an auto-trimming ObjectPool helper.
30
30
/// </summary>
31
-
/// <param name="target">The governable object pool to maintain.</param>
31
+
/// <param name="pool">The governable object pool to maintain.</param>
32
32
/// <param name="trimmedSize">The target size to limit to after a half second timeout. Allowing the pool to still grow to the max size until the trim occurs.</param>
33
33
/// <param name="trimDelay">The amount of time to wait/defer trimming.</param>
0 commit comments