Redigera

Dela via


ILogViewUpdate<TLogEntry> Interface

Definition

Interface for updating the log.

public interface ILogViewUpdate<TLogEntry>
type ILogViewUpdate<'LogEntry> = interface
Public Interface ILogViewUpdate(Of TLogEntry)

Type Parameters

TLogEntry

The type of log entries.

Derived

Methods

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.

Applies to