system/Cache/Handlers/RedisHandler.php
public function increment(string $key, int $offset = 1)
	{
		$key = $this->prefix . $key;

		return $this->redis->hIncrBy($key, 'data', $offset);
	}
public function increment(string $key, int $offset = 1)
	{
		$key = $this->prefix . $key;

		return $this->redis->hIncrBy($key, 'data', $offset);
	}
Performs atomic incrementation of a raw stored value.

@param string  $key    Cache ID
@param integer $offset Step/value to increase by

@return mixed