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
15
interface
IBufferingStatsdDataFactory
extends
StatsdDataFactoryInterface {
20
public
function
hasData
();
21
26
public
function
getData
();
27
32
public
function
clearData
();
33
39
public
function
getDataCount
();
40
46
public
function
setEnabled
( $enabled );
47
}
48
50
class_alias( IBufferingStatsdDataFactory::class,
'IBufferingStatsdDataFactory'
);
Wikimedia\Stats\IBufferingStatsdDataFactory
MediaWiki adaptation of StatsdDataFactory that provides buffering functionality.
Definition
IBufferingStatsdDataFactory.php:15
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:23
includes
libs
Stats
IBufferingStatsdDataFactory.php
Generated on Sat Nov 2 2024 18:24:20 for MediaWiki by
1.10.0