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