30 protected function doGet( $key, $flags = 0, &$casToken =
null ) {
36 public function add( $key,
$value, $exp = 0, $flags = 0 ) {
40 public function set( $key,
$value, $exp = 0, $flags = 0 ) {
44 public function delete( $key, $flags = 0 ) {
52 public function merge( $key, callable $callback, $exptime = 0, $attempts = 10, $flags = 0 ) {
Class representing a cache/ephemeral data store.
A BagOStuff object with no objects in it.
add( $key, $value, $exp=0, $flags=0)
Insert an item if it does not already exist.
doGet( $key, $flags=0, &$casToken=null)
incr( $key, $value=1)
Increase stored value of $key by $value while preserving its TTL.
merge( $key, callable $callback, $exptime=0, $attempts=10, $flags=0)
Merge changes into the existing cache value (possibly creating a new one)