com.lordofthejars.nosqlunit.redis.embedded
Class ScriptingServerOperations

java.lang.Object
  extended by com.lordofthejars.nosqlunit.redis.embedded.ScriptingServerOperations

public class ScriptingServerOperations
extends Object


Constructor Summary
ScriptingServerOperations()
           
 
Method Summary
 Object eval(byte[] script, byte[] keyCount, byte[][] params)
           
 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.
 Object evalsha(byte[] sha1, byte[] keyCount, byte[]... params)
           
 List<Long> scriptExists(byte[]... sha1)
           
 byte[] scriptFlush()
           
 byte[] scriptKill()
           
 byte[] scriptLoad(byte[] script)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScriptingServerOperations

public ScriptingServerOperations()
Method Detail

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.