com.lordofthejars.nosqlunit.redis.embedded
Class ScriptingServerOperations
java.lang.Object
com.lordofthejars.nosqlunit.redis.embedded.ScriptingServerOperations
public class ScriptingServerOperations
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ScriptingServerOperations
public ScriptingServerOperations()
eval
public Object eval(byte[] script,
List<byte[]> keys,
List<byte[]> args)
- Evaluates scripts using the Lua interpreter built into Redis starting
from version 2.6.0.
- Returns:
- Script result
eval
public Object eval(byte[] script,
byte[] keyCount,
byte[][] params)
evalsha
public Object evalsha(byte[] sha1,
byte[] keyCount,
byte[]... params)
scriptExists
public List<Long> scriptExists(byte[]... sha1)
scriptFlush
public byte[] scriptFlush()
scriptKill
public byte[] scriptKill()
scriptLoad
public byte[] scriptLoad(byte[] script)
Copyright © 2012. All Rights Reserved.