public void Merge(long sequenceNumber, bool isLast)
        {
            Ranges = Ranges.MergeWith(sequenceNumber);

            if (isLast)
            {
                Last = sequenceNumber;
            }

            if (AllAdded)
            {
                _shutdownWaitObject.Set();
            }
        }