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