remove watch from transaction
This commit is contained in:
2
pom.xml
2
pom.xml
@@ -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>
|
||||||
|
|||||||
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user