RScript script = redissonClient.getScript(StringCodec.INSTANCE);
long currentTime = script.eval(RScript.Mode.READ_WRITE,
"local time = redis.call('TIME')" +
"local milliseconds = time[1] * 1000 + math.floor(time[2] / 1000)" +
"return milliseconds",
RScript.ReturnType.VALUE);
标签:RScript,script,Redis,获取,Redission,time,local
From: https://www.cnblogs.com/aaro0n/p/17831521.html