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