MediaWiki
master
IBufferingStatsdDataFactory.php
Go to the documentation of this file.
1
<?php
2
3
namespace
Wikimedia\Stats
;
4
5
use Liuggio\StatsdClient\Entity\StatsdData;
6
use Liuggio\StatsdClient\Factory\StatsdDataFactoryInterface;
7
16
interface
IBufferingStatsdDataFactory
extends
StatsdDataFactoryInterface {
21
public
function
hasData
();
22
27
public
function
getData
();
28
33
public
function
clearData
();
34
40
public
function
getDataCount
();
41
47
public
function
setEnabled
( $enabled );
48
}
49
51
class_alias( IBufferingStatsdDataFactory::class,
'IBufferingStatsdDataFactory'
);
Wikimedia\Stats\IBufferingStatsdDataFactory
MediaWiki adaptation of StatsdDataFactory that provides buffering functionality.
Definition
IBufferingStatsdDataFactory.php:16
Wikimedia\Stats\IBufferingStatsdDataFactory\hasData
hasData()
Check whether this data factory has any buffered data.
Wikimedia\Stats\IBufferingStatsdDataFactory\clearData
clearData()
Clear all buffered data from the factory.
Wikimedia\Stats\IBufferingStatsdDataFactory\setEnabled
setEnabled( $enabled)
Set collection enable status.
Wikimedia\Stats\IBufferingStatsdDataFactory\getData
getData()
Return the buffered data from the factory.
Wikimedia\Stats\IBufferingStatsdDataFactory\getDataCount
getDataCount()
Return the number of buffered statsd data entries.
Wikimedia\Stats
Definition
BufferingStatsdDataFactory.php:9
includes
libs
Stats
IBufferingStatsdDataFactory.php
Generated on Sun Mar 8 2026 20:25:29 for MediaWiki by
1.10.0