|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
K - The type of keys that may be passed during script executionpublic interface ScriptExecutor<K>
Executes RedisScripts
| Method Summary | ||
|---|---|---|
|
execute(RedisScript<T> script,
List<K> keys,
Object... args)
Executes the given RedisScript |
|
|
execute(RedisScript<T> script,
RedisSerializer<?> argsSerializer,
RedisSerializer<T> resultSerializer,
List<K> keys,
Object... args)
Executes the given RedisScript, using the provided RedisSerializers to serialize the script
arguments and result. |
|
| Method Detail |
|---|
<T> T execute(RedisScript<T> script,
List<K> keys,
Object... args)
RedisScript
script - The script to executekeys - Any keys that need to be passed to the scriptargs - Any args that need to be passed to the script
RedisScript.getResultType() is null, likely indicating a
throw-away status reply (i.e. "OK")
<T> T execute(RedisScript<T> script,
RedisSerializer<?> argsSerializer,
RedisSerializer<T> resultSerializer,
List<K> keys,
Object... args)
RedisScript, using the provided RedisSerializers to serialize the script
arguments and result.
script - The script to executeargsSerializer - The RedisSerializer to use for serializing argsresultSerializer - The RedisSerializer to use for serializing the script return valuekeys - Any keys that need to be passed to the scriptargs - Any args that need to be passed to the script
RedisScript.getResultType() is null, likely indicating a
throw-away status reply (i.e. "OK")
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||