Skip to main content
All docs
V25.1
  • IDocumentPersistentStorageAsync Methods

    Defines properties and methods for an asynchronous document storage implementation.
    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