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