update transaction api with all the new commands

This commit is contained in:
Jonathan Leibiusky
2011-01-20 12:18:25 -03:00
parent 1857dd3413
commit 66fc6be729
7 changed files with 72 additions and 4 deletions

View File

@@ -434,5 +434,17 @@ public abstract class PipelineBlock implements Commands {
client.lastsave();
}
public void discard() {
client.discard();
}
public void exec() {
client.exec();
}
public void multi() {
client.multi();
}
public abstract void execute();
}