resetStat
Description
Resets the statistics reported by Redis using the INFO command (info()
function).
使用info()重置静态的日志。
These are the counters that are reset:
- Keyspace hits
- Keyspace misses
- Number of commands processed
- Number of connections received
- Number of expired keys
Parameters
None.
Return value
BOOL: TRUE
in case of success, FALSE
in case of failure.
Example
$redis->resetStat();