MediaWiki  1.30.2
IBufferingStatsdDataFactory Interface Reference

MediaWiki adaptation of StatsdDataFactory that provides buffering functionality. More...

Inheritance diagram for IBufferingStatsdDataFactory:
Collaboration diagram for IBufferingStatsdDataFactory:

Public Member Functions

 getData ()
 Return data from the factory. More...
 
 hasData ()
 Check whether this data factory has any data. More...
 
 setEnabled ( $enabled)
 Set collection enable status. More...
 

Detailed Description

MediaWiki adaptation of StatsdDataFactory that provides buffering functionality.

See also
BufferingStatsdDataFactory

Definition at line 10 of file IBufferingStatsdDataFactory.php.

Member Function Documentation

◆ getData()

IBufferingStatsdDataFactory::getData ( )

Return data from the factory.

Returns
StatsdData[]

Implemented in NullStatsdDataFactory, and BufferingStatsdDataFactory.

◆ hasData()

IBufferingStatsdDataFactory::hasData ( )

Check whether this data factory has any data.

Returns
bool

Implemented in NullStatsdDataFactory, and BufferingStatsdDataFactory.

◆ setEnabled()

IBufferingStatsdDataFactory::setEnabled (   $enabled)

Set collection enable status.

Parameters
bool$enabledWill collection be enabled?
Returns
void

Implemented in NullStatsdDataFactory, and BufferingStatsdDataFactory.


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