Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
A list of statistics for each transaction that may be interesting for reporting purposes.
Synopsis
- newtype RepoTransactionStats = RepoTransactionStats (ManagedPtr RepoTransactionStats)
- newZeroRepoTransactionStats :: MonadIO m => m RepoTransactionStats
- getRepoTransactionStatsContentBytesWritten :: MonadIO m => RepoTransactionStats -> m Word64
- setRepoTransactionStatsContentBytesWritten :: MonadIO m => RepoTransactionStats -> Word64 -> m ()
- getRepoTransactionStatsContentObjectsTotal :: MonadIO m => RepoTransactionStats -> m Word32
- setRepoTransactionStatsContentObjectsTotal :: MonadIO m => RepoTransactionStats -> Word32 -> m ()
- getRepoTransactionStatsContentObjectsWritten :: MonadIO m => RepoTransactionStats -> m Word32
- setRepoTransactionStatsContentObjectsWritten :: MonadIO m => RepoTransactionStats -> Word32 -> m ()
- getRepoTransactionStatsDevinoCacheHits :: MonadIO m => RepoTransactionStats -> m Word32
- setRepoTransactionStatsDevinoCacheHits :: MonadIO m => RepoTransactionStats -> Word32 -> m ()
- getRepoTransactionStatsMetadataObjectsTotal :: MonadIO m => RepoTransactionStats -> m Word32
- setRepoTransactionStatsMetadataObjectsTotal :: MonadIO m => RepoTransactionStats -> Word32 -> m ()
- getRepoTransactionStatsMetadataObjectsWritten :: MonadIO m => RepoTransactionStats -> m Word32
- setRepoTransactionStatsMetadataObjectsWritten :: MonadIO m => RepoTransactionStats -> Word32 -> m ()
- getRepoTransactionStatsPadding1 :: MonadIO m => RepoTransactionStats -> m Word32
- setRepoTransactionStatsPadding1 :: MonadIO m => RepoTransactionStats -> Word32 -> m ()
- getRepoTransactionStatsPadding2 :: MonadIO m => RepoTransactionStats -> m Word64
- setRepoTransactionStatsPadding2 :: MonadIO m => RepoTransactionStats -> Word64 -> m ()
- getRepoTransactionStatsPadding3 :: MonadIO m => RepoTransactionStats -> m Word64
- setRepoTransactionStatsPadding3 :: MonadIO m => RepoTransactionStats -> Word64 -> m ()
- getRepoTransactionStatsPadding4 :: MonadIO m => RepoTransactionStats -> m Word64
- setRepoTransactionStatsPadding4 :: MonadIO m => RepoTransactionStats -> Word64 -> m ()
Exported types
newtype RepoTransactionStats Source #
Memory-managed wrapper type.
RepoTransactionStats (ManagedPtr RepoTransactionStats) |
Instances
newZeroRepoTransactionStats :: MonadIO m => m RepoTransactionStats Source #
Construct a RepoTransactionStats
struct initialized to zero.
Methods
Properties
contentBytesWritten
The amount of data added to the repository, in bytes, counting only content objects.
getRepoTransactionStatsContentBytesWritten :: MonadIO m => RepoTransactionStats -> m Word64 Source #
Get the value of the “content_bytes_written
” field.
When overloading is enabled, this is equivalent to
get
repoTransactionStats #contentBytesWritten
setRepoTransactionStatsContentBytesWritten :: MonadIO m => RepoTransactionStats -> Word64 -> m () Source #
Set the value of the “content_bytes_written
” field.
When overloading is enabled, this is equivalent to
set
repoTransactionStats [ #contentBytesWritten:=
value ]
contentObjectsTotal
The total number of content objects in the repository after this transaction has completed.
getRepoTransactionStatsContentObjectsTotal :: MonadIO m => RepoTransactionStats -> m Word32 Source #
Get the value of the “content_objects_total
” field.
When overloading is enabled, this is equivalent to
get
repoTransactionStats #contentObjectsTotal
setRepoTransactionStatsContentObjectsTotal :: MonadIO m => RepoTransactionStats -> Word32 -> m () Source #
Set the value of the “content_objects_total
” field.
When overloading is enabled, this is equivalent to
set
repoTransactionStats [ #contentObjectsTotal:=
value ]
contentObjectsWritten
The number of content objects that were written to the repository in this transaction.
getRepoTransactionStatsContentObjectsWritten :: MonadIO m => RepoTransactionStats -> m Word32 Source #
Get the value of the “content_objects_written
” field.
When overloading is enabled, this is equivalent to
get
repoTransactionStats #contentObjectsWritten
setRepoTransactionStatsContentObjectsWritten :: MonadIO m => RepoTransactionStats -> Word32 -> m () Source #
Set the value of the “content_objects_written
” field.
When overloading is enabled, this is equivalent to
set
repoTransactionStats [ #contentObjectsWritten:=
value ]
devinoCacheHits
No description available in the introspection data.
getRepoTransactionStatsDevinoCacheHits :: MonadIO m => RepoTransactionStats -> m Word32 Source #
Get the value of the “devino_cache_hits
” field.
When overloading is enabled, this is equivalent to
get
repoTransactionStats #devinoCacheHits
setRepoTransactionStatsDevinoCacheHits :: MonadIO m => RepoTransactionStats -> Word32 -> m () Source #
Set the value of the “devino_cache_hits
” field.
When overloading is enabled, this is equivalent to
set
repoTransactionStats [ #devinoCacheHits:=
value ]
metadataObjectsTotal
The total number of metadata objects in the repository after this transaction has completed.
getRepoTransactionStatsMetadataObjectsTotal :: MonadIO m => RepoTransactionStats -> m Word32 Source #
Get the value of the “metadata_objects_total
” field.
When overloading is enabled, this is equivalent to
get
repoTransactionStats #metadataObjectsTotal
setRepoTransactionStatsMetadataObjectsTotal :: MonadIO m => RepoTransactionStats -> Word32 -> m () Source #
Set the value of the “metadata_objects_total
” field.
When overloading is enabled, this is equivalent to
set
repoTransactionStats [ #metadataObjectsTotal:=
value ]
metadataObjectsWritten
The number of metadata objects that were written to the repository in this transaction.
getRepoTransactionStatsMetadataObjectsWritten :: MonadIO m => RepoTransactionStats -> m Word32 Source #
Get the value of the “metadata_objects_written
” field.
When overloading is enabled, this is equivalent to
get
repoTransactionStats #metadataObjectsWritten
setRepoTransactionStatsMetadataObjectsWritten :: MonadIO m => RepoTransactionStats -> Word32 -> m () Source #
Set the value of the “metadata_objects_written
” field.
When overloading is enabled, this is equivalent to
set
repoTransactionStats [ #metadataObjectsWritten:=
value ]
padding1
reserved
getRepoTransactionStatsPadding1 :: MonadIO m => RepoTransactionStats -> m Word32 Source #
Get the value of the “padding1
” field.
When overloading is enabled, this is equivalent to
get
repoTransactionStats #padding1
setRepoTransactionStatsPadding1 :: MonadIO m => RepoTransactionStats -> Word32 -> m () Source #
Set the value of the “padding1
” field.
When overloading is enabled, this is equivalent to
set
repoTransactionStats [ #padding1:=
value ]
padding2
reserved
getRepoTransactionStatsPadding2 :: MonadIO m => RepoTransactionStats -> m Word64 Source #
Get the value of the “padding2
” field.
When overloading is enabled, this is equivalent to
get
repoTransactionStats #padding2
setRepoTransactionStatsPadding2 :: MonadIO m => RepoTransactionStats -> Word64 -> m () Source #
Set the value of the “padding2
” field.
When overloading is enabled, this is equivalent to
set
repoTransactionStats [ #padding2:=
value ]
padding3
reserved
getRepoTransactionStatsPadding3 :: MonadIO m => RepoTransactionStats -> m Word64 Source #
Get the value of the “padding3
” field.
When overloading is enabled, this is equivalent to
get
repoTransactionStats #padding3
setRepoTransactionStatsPadding3 :: MonadIO m => RepoTransactionStats -> Word64 -> m () Source #
Set the value of the “padding3
” field.
When overloading is enabled, this is equivalent to
set
repoTransactionStats [ #padding3:=
value ]
padding4
reserved
getRepoTransactionStatsPadding4 :: MonadIO m => RepoTransactionStats -> m Word64 Source #
Get the value of the “padding4
” field.
When overloading is enabled, this is equivalent to
get
repoTransactionStats #padding4
setRepoTransactionStatsPadding4 :: MonadIO m => RepoTransactionStats -> Word64 -> m () Source #
Set the value of the “padding4
” field.
When overloading is enabled, this is equivalent to
set
repoTransactionStats [ #padding4:=
value ]