MediaWiki  master
IBufferingStatsdDataFactory.php
Go to the documentation of this file.
1 <?php
2 
5 
11 interface IBufferingStatsdDataFactory extends StatsdDataFactoryInterface {
16  public function hasData();
17 
22  public function getData();
23 
28  public function clearData();
29 
35  public function getDataCount();
36 
42  public function setEnabled( $enabled );
43 }
setEnabled( $enabled)
Set collection enable status.
getDataCount()
Return the number of buffered statsd data entries.
clearData()
Clear all buffered data from the factory.
getData()
Return the buffered data from the factory.
hasData()
Check whether this data factory has any buffered data.