com.lordofthejars.nosqlunit.redis.embedded
public class TransactionServerOperations extends Object
| Constructor and Description |
|---|
TransactionServerOperations(EmbeddedJedis jedis) |
| Modifier and Type | Method and Description |
|---|---|
redis.clients.jedis.Transaction |
multi() |
List<Object> |
multi(redis.clients.jedis.TransactionBlock jedisTransaction) |
redis.clients.jedis.Pipeline |
pipelined() |
List<Object> |
pipelined(redis.clients.jedis.PipelineBlock jedisPipeline)
Starts a pipeline, which is a very efficient way to send lots of command
and read all the responses when you finish sending them.
|
String |
unwatch() |
String |
watch(byte[]... keys) |
public TransactionServerOperations(EmbeddedJedis jedis)
public String watch(byte[]... keys)
public String unwatch()
public List<Object> pipelined(redis.clients.jedis.PipelineBlock jedisPipeline)
jedisPipeline - public redis.clients.jedis.Pipeline pipelined()
public redis.clients.jedis.Transaction multi()
Copyright © 2014. All Rights Reserved.