FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
plugin-QueuedTracking/Queue/Backend.php at 5.x-dev · matomo-org/plugin-QueuedTracking · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
matomo-org
/
plugin-QueuedTracking
Public
Notifications
You must be signed in to change notification settings
Fork
40
Star
87
Code
Issues
25
Pull requests
3
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Security and quality
Insights
Expand file tree
Breadcrumbs
plugin-QueuedTracking
/
Queue
/
Backend.php
Copy path
More file actions
More file actions
Latest commit
History
History
History
39 lines (26 loc) · 914 Bytes
Breadcrumbs
plugin-QueuedTracking
/
Queue
/
Backend.php
Copy path
File metadata and controls
39 lines (26 loc) · 914 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?php
/**
* Matomo - free/libre analytics platform
*
* @link https://matomo.org
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*
*/
namespace
Piwik
\
Plugins
\
QueuedTracking
\
Queue
;
use
Piwik
\
Concurrency
\
LockBackend
;
/**
* Interface for queue backends.
*/
interface
Backend
extends
LockBackend
{
public
function
appendValuesToList
(
$
key
,
$
values
);
public
function
getFirstXValuesFromList
(
$
key
,
$
numValues
);
public
function
removeFirstXValuesFromList
(
$
key
,
$
numValues
);
public
function
getNumValuesInList
(
$
key
);
public
function
setIfNotExists
(
$
key
,
$
value
,
$
ttlInSeconds
);
public
function
deleteIfKeyHasValue
(
$
key
,
$
value
);
public
function
hasAtLeastXRequestsQueued
(
$
key
,
$
numValuesRequired
);
public
function
expireIfKeyHasValue
(
$
key
,
$
value
,
$
ttlInSeconds
);
public
function
get
(
$
key
);
public
function
getKeysMatchingPattern
(
$
pattern
);
}
Back
|
FazBrowse Home
|
New Git URL