Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F7435423
StatsdClientInterface.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
622 B
Referenced Files
None
Subscribers
None
StatsdClientInterface.php
View Options
<?php
namespace
Liuggio\StatsdClient
;
use
Liuggio\StatsdClient\Sender\SenderInterface
;
use
Liuggio\StatsdClient\Entity\StatsdDataInterface
;
use
Liuggio\StatsdClient\Exception\InvalidArgumentException
;
Interface
StatsdClientInterface
{
const
MAX_UDP_SIZE_STR
=
512
;
/*
* Send the metrics over UDP
*
* @abstract
* @param array|string|StatsdDataInterface $data message(s) to sent
* @param int $sampleRate Tells StatsD that this counter is being sent sampled every Xth of the time.
*
* @return integer the data sent in bytes
*/
function
send
(
$data
,
$sampleRate
=
1
);
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sun, Nov 22, 12:55 (1 d, 22 m ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
44/50/aed30f85a33d152211e40ae4ab3e
Default Alt Text
StatsdClientInterface.php (622 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment