示例#1
0
文件: Jedis.java 项目: jsncpr/jedis
 public Integer incrBy(String key, int integer) {
   checkIsInMulti();
   client.incrBy(key, integer);
   return client.getIntegerReply();
 }
示例#2
0
文件: Jedis.java 项目: jsncpr/jedis
 public Integer strlen(String key) {
   client.strlen(key);
   return client.getIntegerReply();
 }
示例#3
0
文件: Jedis.java 项目: jsncpr/jedis
 public Integer rpushx(String key, String string) {
   client.rpushx(key, string);
   return client.getIntegerReply();
 }
示例#4
0
文件: Jedis.java 项目: jsncpr/jedis
 public Integer zremrangeByScore(String key, double start, double end) {
   checkIsInMulti();
   client.zremrangeByScore(key, start, end);
   return client.getIntegerReply();
 }
示例#5
0
文件: Jedis.java 项目: jsncpr/jedis
 public Integer zinterstore(String dstkey, ZParams params, String... sets) {
   checkIsInMulti();
   client.zinterstore(dstkey, params, sets);
   return client.getIntegerReply();
 }
示例#6
0
文件: Jedis.java 项目: jsncpr/jedis
 public Integer publish(String channel, String message) {
   client.publish(channel, message);
   return client.getIntegerReply();
 }
示例#7
0
文件: Jedis.java 项目: jsncpr/jedis
 public Integer del(String... keys) {
   checkIsInMulti();
   client.del(keys);
   return client.getIntegerReply();
 }
示例#8
0
文件: Jedis.java 项目: jsncpr/jedis
 public Integer llen(String key) {
   checkIsInMulti();
   client.llen(key);
   return client.getIntegerReply();
 }
示例#9
0
文件: Jedis.java 项目: jsncpr/jedis
 public Integer lrem(String key, int count, String value) {
   checkIsInMulti();
   client.lrem(key, count, value);
   return client.getIntegerReply();
 }
示例#10
0
文件: Jedis.java 项目: jsncpr/jedis
 public Integer hdel(String key, String field) {
   checkIsInMulti();
   client.hdel(key, field);
   return client.getIntegerReply();
 }
示例#11
0
文件: Jedis.java 项目: jsncpr/jedis
 public Integer lpush(String key, String string) {
   checkIsInMulti();
   client.lpush(key, string);
   return client.getIntegerReply();
 }
示例#12
0
文件: Jedis.java 项目: jsncpr/jedis
 public Integer hincrBy(String key, String field, int value) {
   checkIsInMulti();
   client.hincrBy(key, field, value);
   return client.getIntegerReply();
 }
示例#13
0
文件: Jedis.java 项目: jsncpr/jedis
 public Integer hsetnx(String key, String field, String value) {
   checkIsInMulti();
   client.hsetnx(key, field, value);
   return client.getIntegerReply();
 }
示例#14
0
文件: Jedis.java 项目: jsncpr/jedis
 public Integer append(String key, String value) {
   checkIsInMulti();
   client.append(key, value);
   return client.getIntegerReply();
 }
示例#15
0
文件: Jedis.java 项目: jsncpr/jedis
 public Integer sort(String key, String dstkey) {
   checkIsInMulti();
   client.sort(key, dstkey);
   return client.getIntegerReply();
 }
示例#16
0
文件: Jedis.java 项目: jsncpr/jedis
 public Integer smove(String srckey, String dstkey, String member) {
   checkIsInMulti();
   client.smove(srckey, dstkey, member);
   return client.getIntegerReply();
 }
示例#17
0
文件: Jedis.java 项目: jsncpr/jedis
 public Integer exists(String key) {
   checkIsInMulti();
   client.exists(key);
   return client.getIntegerReply();
 }
示例#18
0
文件: Jedis.java 项目: jsncpr/jedis
 public Integer sismember(String key, String member) {
   checkIsInMulti();
   client.sismember(key, member);
   return client.getIntegerReply();
 }
示例#19
0
文件: Jedis.java 项目: jsncpr/jedis
 public Integer zcount(String key, double min, double max) {
   checkIsInMulti();
   client.zcount(key, min, max);
   return client.getIntegerReply();
 }
示例#20
0
文件: Jedis.java 项目: jsncpr/jedis
 public Integer sdiffstore(String dstkey, String... keys) {
   checkIsInMulti();
   client.sdiffstore(dstkey, keys);
   return client.getIntegerReply();
 }
示例#21
0
文件: Jedis.java 项目: jsncpr/jedis
 public Integer zremrangeByRank(String key, int start, int end) {
   checkIsInMulti();
   client.zremrangeByRank(key, start, end);
   return client.getIntegerReply();
 }
示例#22
0
文件: Jedis.java 项目: jsncpr/jedis
 public Integer zadd(String key, double score, String member) {
   checkIsInMulti();
   client.zadd(key, score, member);
   return client.getIntegerReply();
 }
示例#23
0
文件: Jedis.java 项目: jsncpr/jedis
 public Integer zunionstore(String dstkey, String... sets) {
   checkIsInMulti();
   client.zunionstore(dstkey, sets);
   return client.getIntegerReply();
 }
示例#24
0
文件: Jedis.java 项目: jsncpr/jedis
 public Integer zrevrank(String key, String member) {
   checkIsInMulti();
   client.zrevrank(key, member);
   return client.getIntegerReply();
 }
示例#25
0
文件: Jedis.java 项目: jsncpr/jedis
 public Integer lastsave() {
   client.lastsave();
   return client.getIntegerReply();
 }
示例#26
0
文件: Jedis.java 项目: jsncpr/jedis
 public Integer zcard(String key) {
   checkIsInMulti();
   client.zcard(key);
   return client.getIntegerReply();
 }
示例#27
0
文件: Jedis.java 项目: jsncpr/jedis
 public Integer persist(String key) {
   client.persist(key);
   return client.getIntegerReply();
 }
示例#28
0
文件: Jedis.java 项目: jsncpr/jedis
 public Integer sort(String key, SortingParams sortingParameters, String dstkey) {
   checkIsInMulti();
   client.sort(key, sortingParameters, dstkey);
   return client.getIntegerReply();
 }
示例#29
0
文件: Jedis.java 项目: jsncpr/jedis
 public Integer linsert(String key, LIST_POSITION where, String pivot, String value) {
   client.linsert(key, where, pivot, value);
   return client.getIntegerReply();
 }
示例#30
0
文件: Jedis.java 项目: jsncpr/jedis
 public Integer decr(String key) {
   checkIsInMulti();
   client.decr(key);
   return client.getIntegerReply();
 }