RedisTemplate类execute()方法
execute
public
Description copied from interface: RedisOperations
执行给定的Redis脚本
Executes the given RedisScript
Specified by:
execute in interface RedisOperations<K,V>
Parameters:
- script - The script to execute
- keys - Any keys that need to be passed to the script
- args - Any args that need to be passed to the script
Returns:
The return value of the script or null if RedisScript.getResultType() is null, likely indicating a throw-away status reply (i.e. "OK")

浙公网安备 33010602011771号