Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4070089
IBufferingStatsdDataFactory.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
IBufferingStatsdDataFactory.php
View Options
<?php
namespace
Wikimedia\Stats
;
use
Liuggio\StatsdClient\Entity\StatsdData
;
use
Liuggio\StatsdClient\Factory\StatsdDataFactoryInterface
;
/**
* MediaWiki adaptation of StatsdDataFactory that provides buffering functionality.
*
* @stable to implement
* @since 1.30
* @see BufferingStatsdDataFactory
*/
interface
IBufferingStatsdDataFactory
extends
StatsdDataFactoryInterface
{
/**
* Check whether this data factory has any buffered data.
* @return bool
*/
public
function
hasData
();
/**
* Return the buffered data from the factory.
* @return StatsdData[]
*/
public
function
getData
();
/**
* Clear all buffered data from the factory
* @since 1.31
*/
public
function
clearData
();
/**
* Return the number of buffered statsd data entries
* @return int
* @since 1.31
*/
public
function
getDataCount
();
/**
* Set collection enable status.
* @param bool $enabled Will collection be enabled?
* @return void
*/
public
function
setEnabled
(
$enabled
);
}
/** @deprecated class alias since 1.43 */
class_alias
(
IBufferingStatsdDataFactory
::
class
,
'IBufferingStatsdDataFactory'
);
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Aug 16 2026, 23:27 (11 w, 5 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
08/1d/ba51318a7cf611192d6bd8c8fcb6
Default Alt Text
IBufferingStatsdDataFactory.php (1 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment