remove watch from transaction
This commit is contained in:
2
pom.xml
2
pom.xml
@@ -10,7 +10,7 @@
|
||||
<packaging>jar</packaging>
|
||||
<groupId>redis.clients</groupId>
|
||||
<artifactId>jedis</artifactId>
|
||||
<version>2.0.0-SNAPSHOT</version>
|
||||
<version>2.0.0</version>
|
||||
<name>Jedis</name>
|
||||
<description>Jedis is a blazingly small and sane Redis java client.</description>
|
||||
<url>http://code.google.com/p/jedis/</url>
|
||||
|
||||
@@ -390,7 +390,7 @@ public class BinaryTransaction extends Queable {
|
||||
}
|
||||
|
||||
public Response<String> substr(byte[] key, int start, int end) { // what's
|
||||
// that?
|
||||
// that?
|
||||
client.substr(key, start, end);
|
||||
return getResponse(BuilderFactory.STRING);
|
||||
}
|
||||
@@ -415,11 +415,6 @@ public class BinaryTransaction extends Queable {
|
||||
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) {
|
||||
client.zadd(key, score, member);
|
||||
return getResponse(BuilderFactory.LONG);
|
||||
|
||||
Reference in New Issue
Block a user