Skip to content

PrimaryBasedLogViewAdaptor<TLogView, TLogEntry, TSubmissionEntry>.TryAppendRange(IEnumerable<TLogEntry>)

TryAppendRange(IEnumerable<TLogEntry>)

View source
public Task<bool> PrimaryBasedLogViewAdaptor<TLogView, TLogEntry, TryAppendRange(IEnumerable<TLogEntry> logEntries)
Try to append a range of log entries atomically at the current position of the log.

Parameters

logEntriesIEnumerable<TLogEntry>

Returns

true if the entries were appended successfully, or false if there was a concurrency conflict (i.e. some other entries were previously appended).