Package redis.clients.jedis.commands
Interface JedisClusterScriptingCommands
-
- All Known Implementing Classes:
JedisCluster
public interface JedisClusterScriptingCommands
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Object
eval(String script, int keyCount, String... params)
Object
eval(String script, String sampleKey)
Object
eval(String script, List<String> keys, List<String> args)
Object
evalsha(String sha1, int keyCount, String... params)
Object
evalsha(String sha1, String sampleKey)
Object
evalsha(String sha1, List<String> keys, List<String> args)
Boolean
scriptExists(String sha1, String sampleKey)
List<Boolean>
scriptExists(String sampleKey, String... sha1)
String
scriptFlush(String sampleKey)
String
scriptKill(String sampleKey)
String
scriptLoad(String script, String sampleKey)
-
-
-
Method Detail
-
eval
Object eval(String script, String sampleKey)
- Parameters:
script
-sampleKey
- Command will be executed in the node where the hash slot of this key is assigned to- Returns:
-
evalsha
Object evalsha(String sha1, String sampleKey)
- Parameters:
sha1
-sampleKey
- Command will be executed in the node where the hash slot of this key is assigned to- Returns:
-
scriptExists
Boolean scriptExists(String sha1, String sampleKey)
- Parameters:
sha1
-sampleKey
- Command will be executed in the node where the hash slot of this key is assigned to- Returns:
-
scriptExists
List<Boolean> scriptExists(String sampleKey, String... sha1)
- Parameters:
sampleKey
- Command will be executed in the node where the hash slot of this key is assigned tosha1
-- Returns:
-
scriptLoad
String scriptLoad(String script, String sampleKey)
- Parameters:
script
-sampleKey
- Command will be executed in the node where the hash slot of this key is assigned to- Returns:
-
scriptFlush
String scriptFlush(String sampleKey)
- Parameters:
sampleKey
- Command will be executed in the node where the hash slot of this key is assigned to- Returns:
-
-