MediaWiki REL1_39
StatsStore.php
Go to the documentation of this file.
1<?php
2
3namespace Wikimedia\WRStats;
4
10interface StatsStore {
20 public function makeKey( $prefix, $internals, $entity );
21
30 public function incr( array $values, $ttl );
31
37 public function delete( array $keys );
38
45 public function query( array $keys );
46}
The narrow interface WRStats needs into a memcached-like key-value store.
query(array $keys)
Perform a batch of fetch operations.
makeKey( $prefix, $internals, $entity)
Construct a string key from its components.
incr(array $values, $ttl)
Perform a batch of increment operations.