Skip to content

PrimaryBasedLogViewAdaptor<TLogView, TLogEntry, TSubmissionEntry>.RetrieveLogSegment(int, int)

RetrieveLogSegment(int, int)

virtual
View source
public virtual Task<IReadOnlyList<TLogEntry>> PrimaryBasedLogViewAdaptor<TLogView, TLogEntry, RetrieveLogSegment(int fromVersion, int length)
Attempt to retrieve a segment of the log, possibly from storage. Throws System.NotSupportedException if the log cannot be read, which depends on the providers used and how they are configured.

Parameters

fromVersionint
the start position
lengthint
the end position

Returns

a