xetorthio/jedis — pull request #387 by enricruiz (2013-01-30 16:59:30+00:00)
Title: Execute several TransactionBlock in a unique transaction

TransactionBlockList allows the execution of several TransactionBlock in the same Transaction

``` java
TransactionBlock transactionBlockA = new TransactionBlock() {
@Override
public void execute() throws JedisException {
set("A", UUID.randomUUID().toString());
}
};

TransactionBlock transactionBlockB = new TransactionBlock() {
@Override
public void execute() throws JedisException
{
set("B", UUID.randomUUID().toString());
set("C", UUID.randomUUID().toString());
}
};

TransactionBlockList transactionBlockList = new TransactionBlockList();
transactionBlockList.add(transactionBlockA);
transactionBlockList.add(transactionBlockB);

Jedis redis = new Jedis("localhost");
List