47 public function set( $key,
$value ) {
99 $metric = StatsdDataInterface::STATSD_METRIC_COUNT
101 $data =
new StatsdData();
102 $data->setKey( $key );
104 $data->setMetric( $metric );
and that you know you can do these things To protect your we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights These restrictions translate to certain responsibilities for you if you distribute copies of the or if you modify it For if you distribute copies of such a whether gratis or for a you must give the recipients all the rights that you have You must make sure that receive or can get the source code And you must show them these terms so they know their rights We protect your rights with two and(2) offer you this license which gives you legal permission to copy
decrement( $key)
This function creates a 'decrement' StatsdData object.
gauge( $key, $value)
This function creates a 'gauge' StatsdData.
clearData()
Clear all buffered data from the factory.
setEnabled( $enabled)
Set collection enable status.
increment( $key)
This function creates a 'increment' StatsdData object.
produceStatsdData( $key, $value=1, $metric=StatsdDataInterface::STATSD_METRIC_COUNT)
Produce a StatsdDataInterface Object.
getData()
Return the buffered data from the factory.
timing( $key, $time)
This function creates a 'timing' StatsdData.
hasData()
Check whether this data factory has any buffered data.
updateCount( $key, $delta)
This function creates a 'updateCount' StatsdData object.
getDataCount()
Return the number of buffered statsd data entries.
see documentation in includes Linker php for Linker::makeImageLink & $time
$data
Utility to generate mapping file used in mw.Title (phpCharToUpper.json)
MediaWiki adaptation of StatsdDataFactory that provides buffering functionality.