Merge branch 'master' of https://github.com/PumpkinJack/jedis into PumpkinJack-master
This commit is contained in:
2
pom.xml
2
pom.xml
@@ -62,7 +62,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.apache.commons</groupId>
|
<groupId>org.apache.commons</groupId>
|
||||||
<artifactId>commons-pool2</artifactId>
|
<artifactId>commons-pool2</artifactId>
|
||||||
<version>2.0</version>
|
<version>2.2</version>
|
||||||
<type>jar</type>
|
<type>jar</type>
|
||||||
<scope>compile</scope>
|
<scope>compile</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
package redis.clients.jedis;
|
package redis.clients.jedis;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Pipelined responses for all of the low level, non key related commands
|
* Pipelined responses for all of the low level, non key related commands
|
||||||
*/
|
*/
|
||||||
@@ -25,6 +27,8 @@ public interface BasicRedisPipeline {
|
|||||||
|
|
||||||
Response<String> info();
|
Response<String> info();
|
||||||
|
|
||||||
|
Response<List<String>> time();
|
||||||
|
|
||||||
Response<Long> dbSize();
|
Response<Long> dbSize();
|
||||||
|
|
||||||
Response<String> shutdown();
|
Response<String> shutdown();
|
||||||
|
|||||||
@@ -368,6 +368,11 @@ abstract class MultiKeyPipelineBase extends PipelineBase implements
|
|||||||
return getResponse(BuilderFactory.STRING);
|
return getResponse(BuilderFactory.STRING);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Response<List<String>> time() {
|
||||||
|
client.time();
|
||||||
|
return getResponse(BuilderFactory.STRING_LIST);
|
||||||
|
}
|
||||||
|
|
||||||
public Response<Long> dbSize() {
|
public Response<Long> dbSize() {
|
||||||
client.dbSize();
|
client.dbSize();
|
||||||
return getResponse(BuilderFactory.LONG);
|
return getResponse(BuilderFactory.LONG);
|
||||||
|
|||||||
Reference in New Issue
Block a user