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>
|
||||
<groupId>org.apache.commons</groupId>
|
||||
<artifactId>commons-pool2</artifactId>
|
||||
<version>2.0</version>
|
||||
<version>2.2</version>
|
||||
<type>jar</type>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
package redis.clients.jedis;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Pipelined responses for all of the low level, non key related commands
|
||||
*/
|
||||
@@ -24,6 +26,8 @@ public interface BasicRedisPipeline {
|
||||
Response<String> flushAll();
|
||||
|
||||
Response<String> info();
|
||||
|
||||
Response<List<String>> time();
|
||||
|
||||
Response<Long> dbSize();
|
||||
|
||||
|
||||
@@ -367,6 +367,11 @@ abstract class MultiKeyPipelineBase extends PipelineBase implements
|
||||
client.info();
|
||||
return getResponse(BuilderFactory.STRING);
|
||||
}
|
||||
|
||||
public Response<List<String>> time() {
|
||||
client.time();
|
||||
return getResponse(BuilderFactory.STRING_LIST);
|
||||
}
|
||||
|
||||
public Response<Long> dbSize() {
|
||||
client.dbSize();
|
||||
|
||||
Reference in New Issue
Block a user