Skip to main content

IDocumentPersistentStorageAsync Members

Defines properties and methods for an asynchronous document storage implementation.

Methods

Name Description
ClearAsync(TimeSpan) Clears the storage by deleting objects whose lifetime exceeds the specified time.
CreateNewAsync(Stream) Asynchronously creates a document storage using the specified stream.
ReleaseAsync(String) Asynchronous operation that removes the specified item from storage.
SaveAllPagesAsync(String, IEnumerable<Stream>) Asynchronously saves all document pages to storage.
SavePageAsync(String, Int32, Stream) Asynchronously saves a document page to storage.
SetMetadataAsync(String, Stream) Asynchronously saves document metadata in the document storage.
TryGetAllPagesAsync(String, IEnumerable<Stream>) Gets all document pages from the storage.
TryGetMetadataAsync(String, Stream) Asynchronously retrieves document metadata from storage.
TryGetPageAsync(String, Int32, Stream) Asynchronously retrieves a specified document page from storage.
UpdateLastAccessTimeAsync(String) Updates last access time for the specified storage item.
See Also