Amazon.KinesisTap.Core/Components/Buffer.cs
/// <summary>
/// Add an item. If the size is exceeded, the thread is blocked.
/// </summary>
/// <param name="item"></param>
Add an item. If the size is exceeded, the thread is blocked.
Add an item . If the size is exceeded the thread is blocked .
public void Add(T item)
        {
            if (Count >= _sizeHint)
            {
                _sourceSideWaitHandle.WaitOne();
            }
            AddInternal(item);
        }
public void Add ( T item ) { if ( Count >= _sizeHint ) { _sourceSideWaitHandle . WaitOne ( ) ; } AddInternal ( item ) ; }
Add an item.
Add an item .
item
T
None