| Safe Haskell | Safe-Inferred | 
|---|---|
| Language | GHC2021 | 
Database.LSMTree.Internal.WriteBufferReader
Description
A persisted write buffer that is being read incrementally from disk.
Synopsis
- readWriteBuffer :: (MonadMVar m, MonadMask m, MonadSTM m, MonadST m) => ResolveSerialisedValue -> HasFS m h -> HasBlockIO m h -> ForKOps FsPath -> Ref (BlobFile m h) -> m WriteBuffer
 
Documentation
readWriteBuffer :: (MonadMVar m, MonadMask m, MonadSTM m, MonadST m) => ResolveSerialisedValue -> HasFS m h -> HasBlockIO m h -> ForKOps FsPath -> Ref (BlobFile m h) -> m WriteBuffer Source #
Read a serialised WriteBuffer back into memory.
The argument blob file (BlobFile) must be the file associated with the
 argument key/ops file (ForKOps). readWriteBuffer does not check this.