remove watch from transaction

This commit is contained in:
Jonathan Leibiusky
2011-05-30 14:23:20 -03:00
parent 891e018093
commit 6aa216f8cf
2 changed files with 2 additions and 7 deletions

View File

@@ -10,7 +10,7 @@
<packaging>jar</packaging> <packaging>jar</packaging>
<groupId>redis.clients</groupId> <groupId>redis.clients</groupId>
<artifactId>jedis</artifactId> <artifactId>jedis</artifactId>
<version>2.0.0-SNAPSHOT</version> <version>2.0.0</version>
<name>Jedis</name> <name>Jedis</name>
<description>Jedis is a blazingly small and sane Redis java client.</description> <description>Jedis is a blazingly small and sane Redis java client.</description>
<url>http://code.google.com/p/jedis/</url> <url>http://code.google.com/p/jedis/</url>

View File

@@ -390,7 +390,7 @@ public class BinaryTransaction extends Queable {
} }
public Response<String> substr(byte[] key, int start, int end) { // what's public Response<String> substr(byte[] key, int start, int end) { // what's
// that? // that?
client.substr(key, start, end); client.substr(key, start, end);
return getResponse(BuilderFactory.STRING); return getResponse(BuilderFactory.STRING);
} }
@@ -415,11 +415,6 @@ public class BinaryTransaction extends Queable {
return getResponse(BuilderFactory.STRING); return getResponse(BuilderFactory.STRING);
} }
public Response<String> watch(byte[]... keys) {
client.watch(keys);
return getResponse(BuilderFactory.STRING);
}
public Response<Long> zadd(byte[] key, double score, byte[] member) { public Response<Long> zadd(byte[] key, double score, byte[] member) {
client.zadd(key, score, member); client.zadd(key, score, member);
return getResponse(BuilderFactory.LONG); return getResponse(BuilderFactory.LONG);