MediaWiki REL1_33
|
MediaWiki adaptation of StatsdDataFactory that provides buffering functionality. More...
Public Member Functions | |
clearData () | |
Clear all buffered data from the factory. | |
getData () | |
Return the buffered data from the factory. | |
getDataCount () | |
Return the number of buffered statsd data entries. | |
hasData () | |
Check whether this data factory has any buffered data. | |
setEnabled ( $enabled) | |
Set collection enable status. | |
MediaWiki adaptation of StatsdDataFactory that provides buffering functionality.
Definition at line 10 of file IBufferingStatsdDataFactory.php.
IBufferingStatsdDataFactory::clearData | ( | ) |
Clear all buffered data from the factory.
Implemented in BufferingStatsdDataFactory, and NullStatsdDataFactory.
Referenced by MediaWiki\emitBufferedStatsdData().
IBufferingStatsdDataFactory::getData | ( | ) |
Return the buffered data from the factory.
Implemented in BufferingStatsdDataFactory, and NullStatsdDataFactory.
Referenced by MediaWiki\emitBufferedStatsdData().
IBufferingStatsdDataFactory::getDataCount | ( | ) |
Return the number of buffered statsd data entries.
Implemented in BufferingStatsdDataFactory, and NullStatsdDataFactory.
IBufferingStatsdDataFactory::hasData | ( | ) |
Check whether this data factory has any buffered data.
Implemented in BufferingStatsdDataFactory, and NullStatsdDataFactory.
Referenced by MediaWiki\emitBufferedStatsdData().
IBufferingStatsdDataFactory::setEnabled | ( | $enabled | ) |
Set collection enable status.
bool | $enabled | Will collection be enabled? |
Implemented in BufferingStatsdDataFactory, and NullStatsdDataFactory.