franz-0.5.2: Append-only database
Safe HaskellNone
LanguageHaskell2010

Database.Franz.Writer.Simple

Synopsis

Writer interface

data WriterHandle (f :: Type -> Type) Source #

Instances

Instances details
NFData (WriterHandle f) Source # 
Instance details

Defined in Database.Franz.Writer

Methods

rnf :: WriterHandle f -> () #

closeWriter :: WriterHandle f -> IO () Source #

Flush any pending data and close a WriterHandle.

flush :: WriterHandle f -> IO () Source #

Flush the changes.

getLastSeqNo :: WriterHandle f -> IO Int Source #

Get the sequential number of the last item item written.