dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "mw.Feedback: If the message is posted remotely, link the title correctly"
[lhc/web/wiklou.git]
/
includes
/
libs
/
stats
/
IBufferingStatsdDataFactory.php
diff --git
a/includes/libs/stats/IBufferingStatsdDataFactory.php
b/includes/libs/stats/IBufferingStatsdDataFactory.php
index
f77b26c
..
77b4c35
100644
(file)
--- a/
includes/libs/stats/IBufferingStatsdDataFactory.php
+++ b/
includes/libs/stats/IBufferingStatsdDataFactory.php
@@
-9,22
+9,34
@@
use Liuggio\StatsdClient\Factory\StatsdDataFactoryInterface;
*/
interface IBufferingStatsdDataFactory extends StatsdDataFactoryInterface {
/**
*/
interface IBufferingStatsdDataFactory extends StatsdDataFactoryInterface {
/**
- * Check whether this data factory has any data.
+ * Check whether this data factory has any
buffered
data.
* @return bool
*/
public function hasData();
/**
* @return bool
*/
public function hasData();
/**
- * Return data from the factory.
+ * Return
the buffered
data from the factory.
* @return StatsdData[]
*/
public function getData();
* @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 );
/**
* Set collection enable status.
* @param bool $enabled Will collection be enabled?
* @return void
*/
public function setEnabled( $enabled );
-
}
}