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