Adding setbit/getbit to ShardedJedis
This commit is contained in:
committed by
Jonathan Leibiusky
parent
ffebfe120b
commit
e12f655fa3
@@ -23,6 +23,10 @@ public interface JedisCommands {
|
||||
|
||||
Long ttl(String key);
|
||||
|
||||
boolean setbit(String key, long offset, boolean value);
|
||||
|
||||
boolean getbit(String key, long offset);
|
||||
|
||||
String getSet(String key, String value);
|
||||
|
||||
Long setnx(String key, String value);
|
||||
|
||||
Reference in New Issue
Block a user