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(byte[] scriptSha,
ReturnType returnType,
int numKeys,
byte[]... keysAndArgs)
Evaluate given
scriptSha . |
<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()
See http://redis.io/commands/script-flush
void scriptKill()
See http://redis.io/commands/script-kill
String scriptLoad(byte[] script)
#evalSha(String, ReturnType, int, byte[])
.
See http://redis.io/commands/script-load
script
- List<Boolean> scriptExists(String... scriptShas)
scriptShas
exist in script cache.
See http://redis.io/commands/script-exits
scriptShas
- <T> T eval(byte[] script, ReturnType returnType, int numKeys, byte[]... keysAndArgs)
script
.
See http://redis.io/commands/eval
script
- returnType
- numKeys
- keysAndArgs
- <T> T evalSha(String scriptSha, ReturnType returnType, int numKeys, byte[]... keysAndArgs)
scriptSha
.
See http://redis.io/commands/evalsha
scriptSha
- returnType
- numKeys
- keysAndArgs
- <T> T evalSha(byte[] scriptSha, ReturnType returnType, int numKeys, byte[]... keysAndArgs)
scriptSha
.
See http://redis.io/commands/evalsha
scriptSha
- returnType
- numKeys
- keysAndArgs
- Copyright © 2011-2016–2016 Pivotal Software, Inc.. All rights reserved.