public interface RScriptRx
| Modifier and Type | Method and Description |
|---|---|
<R> io.reactivex.rxjava3.core.Maybe<R> |
eval(RScript.Mode mode,
String luaScript,
RScript.ReturnType returnType)
Executes Lua script
|
<R> io.reactivex.rxjava3.core.Maybe<R> |
eval(RScript.Mode mode,
String luaScript,
RScript.ReturnType returnType,
List<Object> keys,
Object... values)
Executes Lua script
|
<R> io.reactivex.rxjava3.core.Maybe<R> |
eval(String key,
RScript.Mode mode,
String luaScript,
RScript.ReturnType returnType,
List<Object> keys,
Object... values)
Executes Lua script
|
<R> io.reactivex.rxjava3.core.Maybe<R> |
evalSha(RScript.Mode mode,
String shaDigest,
RScript.ReturnType returnType)
Executes Lua script stored in Redis scripts cache by SHA-1 digest
|
<R> io.reactivex.rxjava3.core.Maybe<R> |
evalSha(RScript.Mode mode,
String shaDigest,
RScript.ReturnType returnType,
List<Object> keys,
Object... values)
Executes Lua script stored in Redis scripts cache by SHA-1 digest
|
<R> io.reactivex.rxjava3.core.Maybe<R> |
evalSha(String key,
RScript.Mode mode,
String shaDigest,
RScript.ReturnType returnType,
List<Object> keys,
Object... values)
Executes Lua script stored in Redis scripts cache by SHA-1 digest
|
io.reactivex.rxjava3.core.Single<List<Boolean>> |
scriptExists(String... shaDigests)
Checks for presence Lua scripts in Redis script cache by SHA-1 digest.
|
io.reactivex.rxjava3.core.Completable |
scriptFlush()
Flushes Lua script cache.
|
io.reactivex.rxjava3.core.Completable |
scriptKill()
Kills currently executed Lua script
|
io.reactivex.rxjava3.core.Single<String> |
scriptLoad(String luaScript)
Loads Lua script into Redis scripts cache and returns its SHA-1 digest
|
io.reactivex.rxjava3.core.Completable scriptFlush()
<R> io.reactivex.rxjava3.core.Maybe<R> evalSha(RScript.Mode mode, String shaDigest, RScript.ReturnType returnType, List<Object> keys, Object... values)
R - - type of resultmode - - execution modeshaDigest - - SHA-1 digestreturnType - - return typekeys - - keys available through KEYS param in scriptvalues - - values available through VALUES param in script<R> io.reactivex.rxjava3.core.Maybe<R> evalSha(String key, RScript.Mode mode, String shaDigest, RScript.ReturnType returnType, List<Object> keys, Object... values)
R - - type of resultkey - - used to locate Redis node in Cluster which stores cached Lua scriptmode - - execution modeshaDigest - - SHA-1 digestreturnType - - return typekeys - - keys available through KEYS param in scriptvalues - - values available through VALUES param in script<R> io.reactivex.rxjava3.core.Maybe<R> evalSha(RScript.Mode mode, String shaDigest, RScript.ReturnType returnType)
R - - type of resultmode - - execution modeshaDigest - - SHA-1 digestreturnType - - return type<R> io.reactivex.rxjava3.core.Maybe<R> eval(RScript.Mode mode, String luaScript, RScript.ReturnType returnType, List<Object> keys, Object... values)
R - - type of resultmode - - execution modeluaScript - - lua scriptreturnType - - return typekeys - - keys available through KEYS param in scriptvalues - - values available through VALUES param in script<R> io.reactivex.rxjava3.core.Maybe<R> eval(RScript.Mode mode, String luaScript, RScript.ReturnType returnType)
R - - type of resultmode - - execution modeluaScript - - lua scriptreturnType - - return type<R> io.reactivex.rxjava3.core.Maybe<R> eval(String key, RScript.Mode mode, String luaScript, RScript.ReturnType returnType, List<Object> keys, Object... values)
R - - type of resultkey - - used to locate Redis node in Cluster which stores cached Lua scriptmode - - execution modeluaScript - - lua scriptreturnType - - return typekeys - - keys available through KEYS param in scriptvalues - - values available through VALUES param in scriptio.reactivex.rxjava3.core.Single<String> scriptLoad(String luaScript)
luaScript - - lua scriptio.reactivex.rxjava3.core.Single<List<Boolean>> scriptExists(String... shaDigests)
shaDigests - - collection of SHA-1 digestsio.reactivex.rxjava3.core.Completable scriptKill()
Copyright © 2014–2020 Redisson. All rights reserved.