MediaWiki REL1_40
Wikimedia\Stats\Emitters\EmitterInterface Interface Reference

Emitter Interface. More...

Inherited by Wikimedia\Stats\Emitters\NullEmitter, and Wikimedia\Stats\Emitters\UDPEmitter.

Public Member Functions

 send ()
 Runs metrics and their samples from the cache through the formatter and sends them along.
 

Detailed Description

Emitter Interface.

Renderers run the contents of StatsCache through a Formatter to produce wire-formatted metrics.

Author
Cole White
Since
1.41

Definition at line 31 of file EmitterInterface.php.

Member Function Documentation

◆ send()

Wikimedia\Stats\Emitters\EmitterInterface::send ( )

Runs metrics and their samples from the cache through the formatter and sends them along.

Returns
void

Implemented in Wikimedia\Stats\Emitters\NullEmitter, and Wikimedia\Stats\Emitters\UDPEmitter.


The documentation for this interface was generated from the following file: