K - Key type.V - Value type.public interface NodeSelectionScriptingCommands<K,V>
| Modifier and Type | Method and Description |
|---|---|
<T> Executions<T> |
eval(String script,
ScriptOutputType type,
K... keys)
Execute a Lua script server side.
|
<T> Executions<T> |
eval(String script,
ScriptOutputType type,
K[] keys,
V... values)
Execute a Lua script server side.
|
<T> Executions<T> |
evalsha(String digest,
ScriptOutputType type,
K... keys)
Evaluates a script cached on the server side by its SHA1 digest
|
<T> Executions<T> |
evalsha(String digest,
ScriptOutputType type,
K[] keys,
V... values)
Execute a Lua script server side.
|
Executions<List<Boolean>> |
scriptExists(String... digests)
Check existence of scripts in the script cache.
|
Executions<String> |
scriptFlush()
Remove all the scripts from the script cache.
|
Executions<String> |
scriptKill()
Kill the script currently in execution.
|
Executions<String> |
scriptLoad(V script)
Load the specified Lua script into the script cache.
|
<T> Executions<T> eval(String script, ScriptOutputType type, K... keys)
T - expected return typescript - Lua 5.1 script.type - output typekeys - key names<T> Executions<T> eval(String script, ScriptOutputType type, K[] keys, V... values)
T - expected return typescript - Lua 5.1 script.type - the typekeys - the keysvalues - the values<T> Executions<T> evalsha(String digest, ScriptOutputType type, K... keys)
T - expected return typedigest - SHA1 of the scripttype - the typekeys - the keys<T> Executions<T> evalsha(String digest, ScriptOutputType type, K[] keys, V... values)
T - expected return typedigest - SHA1 of the scripttype - the typekeys - the keysvalues - the valuesExecutions<List<Boolean>> scriptExists(String... digests)
digests - script digestsExecutions<String> scriptFlush()
Executions<String> scriptKill()
Executions<String> scriptLoad(V script)
script - script contentCopyright © 2019 lettuce.io. All rights reserved.