Jamm\Memory\IRedisServer::GetSet PHP 메소드

GetSet() 공개 메소드

Returns an error when key exists but does not hold a string value. Usage: From time to time we need to get the value of the counter and reset it to zero atomically. This can be done using GETSET mycounter "0".
public GetSet ( string $key, string $value ) : string
$key string
$value string
리턴 string
    public function GetSet($key, $value);