Skip to content

VolatileJournalStorageProvider Methods

Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.

CreateStorage(JournalId)

View source
public IJournalStorage CreateStorage(JournalId journalId)
Creates journal storage for the provided journal id.

Parameters

journalIdJournalId
The journal id.

Returns

The journal storage instance.

ListAsync(JournalId, CancellationToken)

View source
public 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.