MediaWiki REL1_30
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.
 
 hasData ()
 Check whether this data factory has any data.
 
 setEnabled ( $enabled)
 Set collection enable status.
 

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 BufferingStatsdDataFactory, and NullStatsdDataFactory.

◆ hasData()

IBufferingStatsdDataFactory::hasData ( )

Check whether this data factory has any data.

Returns
bool

Implemented in BufferingStatsdDataFactory, and NullStatsdDataFactory.

◆ setEnabled()

IBufferingStatsdDataFactory::setEnabled (   $enabled)

Set collection enable status.

Parameters
bool$enabledWill collection be enabled?
Returns
void

Implemented in BufferingStatsdDataFactory, and NullStatsdDataFactory.


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