|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface RedisScriptingCommands
Scripting commands.
| Method Summary | ||
|---|---|---|
|
eval(byte[] script,
ReturnType returnType,
int numKeys,
byte[]... keysAndArgs)
Evaluate given script. |
|
|
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. |
|
| Method Detail |
|---|
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
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||