Go to the source code of this file.
◆ mamaStatsCollectorType
◆ mamaStatsCollectorType
Enumerator |
---|
MAMA_STATS_COLLECTOR_TYPE_QUEUE | |
MAMA_STATS_COLLECTOR_TYPE_TRANSPORT | |
MAMA_STATS_COLLECTOR_TYPE_USER | |
MAMA_STATS_COLLECTOR_TYPE_GLOBAL | |
Definition: statscollector.h:34
Definition: statscollector.h:36
mamaStatsCollectorType
Definition: statscollector.h:31
Definition: statscollector.h:35
Definition: statscollector.h:33
◆ mamaStatsCollector_create()
Create a mamaStatsCollector object.
- Parameters
-
statsCollector | The stats collector object to create |
◆ mamaStatsCollector_destroy()
Destroy a mamaStatsCollector object.
- Parameters
-
statsCollector | The stats collector object to destroy |
◆ mamaStatsCollector_addStat()
Register a stats object with the collector.
- Parameters
-
statscollector | The stats collector object to register with |
stat | The stat object to register |
◆ mamaStatsCollector_incrementStat()
Increment the current interval value of the stat represented by FID identifier.
- Parameters
-
statscollector | The stats collector object for which to increment the stat |
identifier | FID of the stat to increment |
◆ mamaStatsCollector_setName()
Set the name of the stats collector object.
By default, this will be the same as the associated queue, transport, or MAMA Application.
- Parameters
-
statscollector | The stats collector object for which to set the name |
name | The name to set for the stats collector |
◆ mamaStatsCollector_setPublish()
Set whether or not stats for this stats collector object should be published in stats messages.
- Parameters
-
statscollector | The stats collector object to set publishing for |
publish | Whether or not to publish stats for this stats collector |
◆ mamaStatsCollector_getPublish()
Get whether or not stats are being published for this stats collector.
- Parameters
-
statscollector | The stats collector object to get publishing for |
◆ mamaStatsCollector_setLog()
Set whether or not stats for this stats collector object should be logged to the MAMA log.
- Parameters
-
statscollector | The stats collector object to set logging for |
log | Whether or not to log stats for this stats collector |
◆ mamaStatsCollector_getLog()
Get whether or not stats are being logged for this stats collector.
- Parameters
-
statscollector | The stats collector object to get logging for. |
◆ mamaStatsCollectorType_stringForType()
Return a string representation of a mamaStatsCollectorType.
- Parameters
-
type | The stats collector type to return as a string |