icepeak-0.7.1.0: A fast JSON document store with push notification support.

Safe HaskellNone
LanguageHaskell2010

Metrics

Synopsis

Documentation

incrementDataWritten :: (MonadMonitor m, Real a) => a -> IcepeakMetrics -> m Bool Source #

Increment the total data written to disk by the given number of bytes. Returns True, when it actually increased the counter and otherwise False.

incrementJournalWritten :: (MonadMonitor m, Real a) => a -> IcepeakMetrics -> m Bool Source #

Increment the data written to the journal by the given number of bytes. Returns True, when it actually increased the counter and otherwise False.