public void Dispose() { if (_ringBuffer != null) { _ringBuffer.Publish(_sequence); } }
public void Dispose() { if (_ringBuffer != null) { _ringBuffer.Publish(_startSequence, _endSequence); } }
private void TranslateAndPublish(Func <T, long, T> translator, long sequence) { try { translator(_ringBuffer[sequence], sequence); } finally { _ringBuffer.Publish(sequence); } }
public void Dispose() => _ringBuffer.Publish(_startSequence, _endSequence);
public void Dispose() => _ringBuffer.Publish(_sequence);