public interface RedisScriptingCommands
| Modifier and Type | Method and Description |
|---|---|
<T> T |
eval(byte[] script,
ReturnType returnType,
int numKeys,
byte[]... keysAndArgs)
Evaluate given
script. |
<T> T |
evalSha(String scriptSha,
ReturnType returnType,
int numKeys,
byte[]... keysAndArgs)
Evaluate given
scriptSha. |
List<Boolean> |
scriptExists(String... scriptShas)
Check if given
scriptShas exist in script cache. |
void |
scriptFlush()
Flush lua script cache.
|
void |
scriptKill()
Kill current lua script execution.
|
String |
scriptLoad(byte[] script)
Load lua script into scripts cache, without executing it.
|
void scriptFlush()
http://redis.io/commands/script-flushvoid scriptKill()
http://redis.io/commands/script-killString scriptLoad(byte[] script)
#evalSha(String, ReturnType, int, byte[]).script - http://redis.io/commands/script-loadList<Boolean> scriptExists(String... scriptShas)
scriptShas exist in script cache.scriptShas - http://redis.io/commands/script-exits<T> T eval(byte[] script,
ReturnType returnType,
int numKeys,
byte[]... keysAndArgs)
script.script - returnType - numKeys - keysAndArgs - http://redis.io/commands/eval<T> T evalSha(String scriptSha, ReturnType returnType, int numKeys, byte[]... keysAndArgs)
scriptSha.script - returnType - numKeys - keysAndArgs - http://redis.io/commands/evalsha