Skip to content

ILogViewUpdate<TLogEntry>

interface

Namespace: Orleans.EventSourcing

Interface for updating the log.
public interface ILogViewUpdate<TLogEntry>

Methods

  • ClearLogAsync(CancellationToken) Clear the log stream completely. Throws System.NotSupportedException if the log stream does not support clearing.
  • ConfirmSubmittedEntries Confirm all submitted entries.

    Waits until all previously submitted entries appear in the confirmed prefix of the log.

  • Submit(TLogEntry) Submit a single log entry to be appended to the global log, either at the current or at any later position.
  • SubmitRange(IEnumerable<TLogEntry>) Submit a range of log entries to be appended atomically to the global log, either at the current or at any later position.
  • Synchronize Get the latest log view and confirm all submitted entries.

    Waits until all previously submitted entries appear in the confirmed prefix of the log, and forces a refresh of the confirmed prefix.

  • TryAppend(TLogEntry) Try to append a single log entry at the current position of the log.
  • TryAppendRange(IEnumerable<TLogEntry>) Try to append a range of log entries atomically at the current position of the log.