Skip to content

IJournalStorageCatalog Methods

Provides catalog operations for journal storage instances.

ListAsync(JournalId, CancellationToken)

abstract
public abstract IAsyncEnumerable<JournalId> ListAsync(JournalId prefix = default(JournalId), CancellationToken cancellationToken = default(CancellationToken))
Lists journal ids which match prefix.

Parameters

prefixJournalId
The journal id prefix, or the default value to list all ids.
cancellationTokenCancellationToken
The cancellation token.

Returns

Matching ids in lexicographic JournalId order.