Jamm\Memory\RedisServer::PEXPIRE PHP Method

PEXPIRE() public method

Set a key's time to live in milliseconds
public PEXPIRE ( string $key, integer $milliseconds ) : integer
$key string
$milliseconds integer
return integer 1 if the timeout was set, 0 if key does not exist or the timeout could not be set.
    public function PEXPIRE($key, $milliseconds)
    {
        return $this->_send(array('PEXPIRE', $key, $milliseconds));
    }