|
|
@ -46,21 +46,20 @@ import org.redisson.client.protocol.convertor.TypeConvertor;
|
|
|
|
import org.redisson.client.protocol.convertor.VoidReplayConvertor;
|
|
|
|
import org.redisson.client.protocol.convertor.VoidReplayConvertor;
|
|
|
|
import org.redisson.client.protocol.decoder.ClusterNodesDecoder;
|
|
|
|
import org.redisson.client.protocol.decoder.ClusterNodesDecoder;
|
|
|
|
import org.redisson.client.protocol.decoder.ListFirstObjectDecoder;
|
|
|
|
import org.redisson.client.protocol.decoder.ListFirstObjectDecoder;
|
|
|
|
import org.redisson.client.protocol.decoder.ListMultiDecoder;
|
|
|
|
import org.redisson.client.protocol.decoder.ListMultiDecoder2;
|
|
|
|
import org.redisson.client.protocol.decoder.ListObjectDecoder;
|
|
|
|
import org.redisson.client.protocol.decoder.ListObjectDecoder;
|
|
|
|
import org.redisson.client.protocol.decoder.ListResultReplayDecoder;
|
|
|
|
import org.redisson.client.protocol.decoder.ListResultReplayDecoder;
|
|
|
|
import org.redisson.client.protocol.decoder.ListScanResult;
|
|
|
|
import org.redisson.client.protocol.decoder.ListScanResult;
|
|
|
|
import org.redisson.client.protocol.decoder.ListScanResultReplayDecoder;
|
|
|
|
import org.redisson.client.protocol.decoder.ListScanResultReplayDecoder;
|
|
|
|
import org.redisson.client.protocol.decoder.Long2MultiDecoder;
|
|
|
|
import org.redisson.client.protocol.decoder.Long2MultiDecoder;
|
|
|
|
import org.redisson.client.protocol.decoder.LongMultiDecoder;
|
|
|
|
|
|
|
|
import org.redisson.client.protocol.decoder.MapScanResult;
|
|
|
|
import org.redisson.client.protocol.decoder.MapScanResult;
|
|
|
|
import org.redisson.client.protocol.decoder.MapScanResultReplayDecoder;
|
|
|
|
import org.redisson.client.protocol.decoder.MapScanResultReplayDecoder;
|
|
|
|
import org.redisson.client.protocol.decoder.ObjectDecoder;
|
|
|
|
import org.redisson.client.protocol.decoder.ObjectDecoder;
|
|
|
|
import org.redisson.client.protocol.decoder.ObjectFirstScoreReplayDecoder;
|
|
|
|
import org.redisson.client.protocol.decoder.ObjectFirstScoreReplayDecoder;
|
|
|
|
import org.redisson.client.protocol.decoder.ObjectListReplayDecoder;
|
|
|
|
import org.redisson.client.protocol.decoder.ObjectListReplayDecoder;
|
|
|
|
import org.redisson.client.protocol.decoder.ObjectMapEntryReplayDecoder;
|
|
|
|
import org.redisson.client.protocol.decoder.ObjectMapEntryReplayDecoder;
|
|
|
|
import org.redisson.client.protocol.decoder.ObjectMapJoinDecoder;
|
|
|
|
|
|
|
|
import org.redisson.client.protocol.decoder.ObjectMapReplayDecoder;
|
|
|
|
import org.redisson.client.protocol.decoder.ObjectMapReplayDecoder;
|
|
|
|
|
|
|
|
import org.redisson.client.protocol.decoder.ObjectMapReplayDecoder2;
|
|
|
|
import org.redisson.client.protocol.decoder.ObjectSetReplayDecoder;
|
|
|
|
import org.redisson.client.protocol.decoder.ObjectSetReplayDecoder;
|
|
|
|
import org.redisson.client.protocol.decoder.PendingEntryDecoder;
|
|
|
|
import org.redisson.client.protocol.decoder.PendingEntryDecoder;
|
|
|
|
import org.redisson.client.protocol.decoder.PendingResultDecoder;
|
|
|
|
import org.redisson.client.protocol.decoder.PendingResultDecoder;
|
|
|
@ -154,10 +153,10 @@ public interface RedisCommands {
|
|
|
|
RedisCommand<List<ScoredEntry<Object>>> ZREVRANGEBYSCORE_ENTRY = new RedisCommand<List<ScoredEntry<Object>>>("ZREVRANGEBYSCORE", new ScoredSortedSetReplayDecoder<Object>());
|
|
|
|
RedisCommand<List<ScoredEntry<Object>>> ZREVRANGEBYSCORE_ENTRY = new RedisCommand<List<ScoredEntry<Object>>>("ZREVRANGEBYSCORE", new ScoredSortedSetReplayDecoder<Object>());
|
|
|
|
RedisCommand<List<ScoredEntry<Object>>> ZRANGE_ENTRY = new RedisCommand<List<ScoredEntry<Object>>>("ZRANGE", new ScoredSortedSetReplayDecoder<Object>());
|
|
|
|
RedisCommand<List<ScoredEntry<Object>>> ZRANGE_ENTRY = new RedisCommand<List<ScoredEntry<Object>>>("ZRANGE", new ScoredSortedSetReplayDecoder<Object>());
|
|
|
|
RedisCommand<List<ScoredEntry<Object>>> ZRANGEBYSCORE_ENTRY = new RedisCommand<List<ScoredEntry<Object>>>("ZRANGEBYSCORE", new ScoredSortedSetReplayDecoder<Object>());
|
|
|
|
RedisCommand<List<ScoredEntry<Object>>> ZRANGEBYSCORE_ENTRY = new RedisCommand<List<ScoredEntry<Object>>>("ZRANGEBYSCORE", new ScoredSortedSetReplayDecoder<Object>());
|
|
|
|
RedisCommand<ListScanResult<Object>> ZSCAN = new RedisCommand<ListScanResult<Object>>("ZSCAN", new ListMultiDecoder(new LongMultiDecoder(), new ScoredSortedSetScanDecoder<Object>(), new ScoredSortedSetScanReplayDecoder()));
|
|
|
|
RedisCommand<ListScanResult<Object>> ZSCAN = new RedisCommand<ListScanResult<Object>>("ZSCAN", new ListMultiDecoder2(new ScoredSortedSetScanReplayDecoder(), new ScoredSortedSetScanDecoder<Object>()));
|
|
|
|
RedisStrictCommand<Double> ZINCRBY = new RedisStrictCommand<Double>("ZINCRBY", new DoubleNullSafeReplayConvertor());
|
|
|
|
RedisStrictCommand<Double> ZINCRBY = new RedisStrictCommand<Double>("ZINCRBY", new DoubleNullSafeReplayConvertor());
|
|
|
|
|
|
|
|
|
|
|
|
RedisCommand<ListScanResult<String>> SCAN = new RedisCommand<ListScanResult<String>>("SCAN", new ListMultiDecoder(new LongMultiDecoder(), new ObjectListReplayDecoder<String>(), new ListScanResultReplayDecoder()));
|
|
|
|
RedisCommand<ListScanResult<String>> SCAN = new RedisCommand<ListScanResult<String>>("SCAN", new ListMultiDecoder2(new ListScanResultReplayDecoder(), new ObjectListReplayDecoder<String>()));
|
|
|
|
RedisStrictCommand<String> RANDOM_KEY = new RedisStrictCommand<String>("RANDOMKEY");
|
|
|
|
RedisStrictCommand<String> RANDOM_KEY = new RedisStrictCommand<String>("RANDOMKEY");
|
|
|
|
RedisCommand<String> PING = new RedisCommand<String>("PING");
|
|
|
|
RedisCommand<String> PING = new RedisCommand<String>("PING");
|
|
|
|
RedisStrictCommand<Boolean> PING_BOOL = new RedisStrictCommand<Boolean>("PING", new BooleanNotNullReplayConvertor());
|
|
|
|
RedisStrictCommand<Boolean> PING_BOOL = new RedisStrictCommand<Boolean>("PING", new BooleanNotNullReplayConvertor());
|
|
|
@ -179,9 +178,9 @@ public interface RedisCommands {
|
|
|
|
RedisCommand<Set<Object>> SMEMBERS = new RedisCommand<Set<Object>>("SMEMBERS", new ObjectSetReplayDecoder<Object>());
|
|
|
|
RedisCommand<Set<Object>> SMEMBERS = new RedisCommand<Set<Object>>("SMEMBERS", new ObjectSetReplayDecoder<Object>());
|
|
|
|
RedisCommand<Set<Object>> SRANDMEMBER = new RedisCommand<Set<Object>>("SRANDMEMBER", new ObjectSetReplayDecoder<Object>());
|
|
|
|
RedisCommand<Set<Object>> SRANDMEMBER = new RedisCommand<Set<Object>>("SRANDMEMBER", new ObjectSetReplayDecoder<Object>());
|
|
|
|
RedisCommand<Object> SRANDMEMBER_SINGLE = new RedisCommand<Object>("SRANDMEMBER");
|
|
|
|
RedisCommand<Object> SRANDMEMBER_SINGLE = new RedisCommand<Object>("SRANDMEMBER");
|
|
|
|
RedisCommand<ListScanResult<Object>> SSCAN = new RedisCommand<ListScanResult<Object>>("SSCAN", new ListMultiDecoder(new LongMultiDecoder(), new ObjectListReplayDecoder(), new ListScanResultReplayDecoder()));
|
|
|
|
RedisCommand<ListScanResult<Object>> SSCAN = new RedisCommand<ListScanResult<Object>>("SSCAN", new ListMultiDecoder2(new ListScanResultReplayDecoder(), new ObjectListReplayDecoder()));
|
|
|
|
RedisCommand<ListScanResult<Object>> EVAL_SSCAN = new RedisCommand<ListScanResult<Object>>("EVAL", new ListMultiDecoder(new LongMultiDecoder(), new ObjectListReplayDecoder<Object>(), new ListScanResultReplayDecoder()));
|
|
|
|
RedisCommand<ListScanResult<Object>> EVAL_SSCAN = new RedisCommand<ListScanResult<Object>>("EVAL", new ListMultiDecoder2(new ListScanResultReplayDecoder(), new ObjectListReplayDecoder<Object>()));
|
|
|
|
RedisCommand<ListScanResult<Object>> EVAL_ZSCAN = new RedisCommand<ListScanResult<Object>>("EVAL", new ListMultiDecoder(new LongMultiDecoder(), new ObjectListReplayDecoder<Object>(), new ListScanResultReplayDecoder()));
|
|
|
|
RedisCommand<ListScanResult<Object>> EVAL_ZSCAN = new RedisCommand<ListScanResult<Object>>("EVAL", new ListMultiDecoder2(new ListScanResultReplayDecoder(), new ObjectListReplayDecoder<Object>()));
|
|
|
|
RedisCommand<Boolean> SISMEMBER = new RedisCommand<Boolean>("SISMEMBER", new BooleanReplayConvertor());
|
|
|
|
RedisCommand<Boolean> SISMEMBER = new RedisCommand<Boolean>("SISMEMBER", new BooleanReplayConvertor());
|
|
|
|
RedisStrictCommand<Integer> SCARD_INT = new RedisStrictCommand<Integer>("SCARD", new IntegerReplayConvertor());
|
|
|
|
RedisStrictCommand<Integer> SCARD_INT = new RedisStrictCommand<Integer>("SCARD", new IntegerReplayConvertor());
|
|
|
|
RedisStrictCommand<Long> SCARD = new RedisStrictCommand<Long>("SCARD");
|
|
|
|
RedisStrictCommand<Long> SCARD = new RedisStrictCommand<Long>("SCARD");
|
|
|
@ -295,7 +294,7 @@ public interface RedisCommands {
|
|
|
|
RedisStrictCommand<Boolean> HSET = new RedisStrictCommand<Boolean>("HSET", new BooleanReplayConvertor());
|
|
|
|
RedisStrictCommand<Boolean> HSET = new RedisStrictCommand<Boolean>("HSET", new BooleanReplayConvertor());
|
|
|
|
RedisStrictCommand<Void> HSET_VOID = new RedisStrictCommand<Void>("HSET", new VoidReplayConvertor());
|
|
|
|
RedisStrictCommand<Void> HSET_VOID = new RedisStrictCommand<Void>("HSET", new VoidReplayConvertor());
|
|
|
|
RedisCommand<MapScanResult<Object, Object>> HSCAN = new RedisCommand<MapScanResult<Object, Object>>("HSCAN",
|
|
|
|
RedisCommand<MapScanResult<Object, Object>> HSCAN = new RedisCommand<MapScanResult<Object, Object>>("HSCAN",
|
|
|
|
new ListMultiDecoder(new LongMultiDecoder(), new ObjectMapReplayDecoder(), new MapScanResultReplayDecoder()), ValueType.MAP);
|
|
|
|
new ListMultiDecoder2(new MapScanResultReplayDecoder(), new ObjectMapReplayDecoder()), ValueType.MAP);
|
|
|
|
RedisCommand<Map<Object, Object>> HGETALL = new RedisCommand<Map<Object, Object>>("HGETALL", new ObjectMapReplayDecoder(), ValueType.MAP);
|
|
|
|
RedisCommand<Map<Object, Object>> HGETALL = new RedisCommand<Map<Object, Object>>("HGETALL", new ObjectMapReplayDecoder(), ValueType.MAP);
|
|
|
|
RedisCommand<Set<Entry<Object, Object>>> HGETALL_ENTRY = new RedisCommand<Set<Entry<Object, Object>>>("HGETALL", new ObjectMapEntryReplayDecoder(), ValueType.MAP);
|
|
|
|
RedisCommand<Set<Entry<Object, Object>>> HGETALL_ENTRY = new RedisCommand<Set<Entry<Object, Object>>>("HGETALL", new ObjectMapEntryReplayDecoder(), ValueType.MAP);
|
|
|
|
RedisCommand<List<Object>> HVALS = new RedisCommand<List<Object>>("HVALS", new ObjectListReplayDecoder<Object>(), ValueType.MAP_VALUE);
|
|
|
|
RedisCommand<List<Object>> HVALS = new RedisCommand<List<Object>>("HVALS", new ObjectListReplayDecoder<Object>(), ValueType.MAP_VALUE);
|
|
|
@ -331,77 +330,67 @@ public interface RedisCommands {
|
|
|
|
RedisCommand<Void> PSETEX = new RedisCommand<Void>("PSETEX", new VoidReplayConvertor());
|
|
|
|
RedisCommand<Void> PSETEX = new RedisCommand<Void>("PSETEX", new VoidReplayConvertor());
|
|
|
|
|
|
|
|
|
|
|
|
RedisCommand<Map<String, Map<StreamMessageId, Map<Object, Object>>>> XRANGE = new RedisCommand<Map<String, Map<StreamMessageId, Map<Object, Object>>>>("XRANGE",
|
|
|
|
RedisCommand<Map<String, Map<StreamMessageId, Map<Object, Object>>>> XRANGE = new RedisCommand<Map<String, Map<StreamMessageId, Map<Object, Object>>>>("XRANGE",
|
|
|
|
new ListMultiDecoder(
|
|
|
|
new ListMultiDecoder2(
|
|
|
|
|
|
|
|
new ObjectMapReplayDecoder2(),
|
|
|
|
new ObjectDecoder(new StreamIdDecoder()),
|
|
|
|
new ObjectDecoder(new StreamIdDecoder()),
|
|
|
|
new StreamObjectMapReplayDecoder(),
|
|
|
|
new StreamObjectMapReplayDecoder()), ValueType.MAP);
|
|
|
|
new StreamObjectMapReplayDecoder(ListMultiDecoder.RESET),
|
|
|
|
|
|
|
|
new ObjectMapJoinDecoder()), ValueType.MAP);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
RedisCommand<Map<String, Map<StreamMessageId, Map<Object, Object>>>> XREVRANGE =
|
|
|
|
RedisCommand<Map<String, Map<StreamMessageId, Map<Object, Object>>>> XREVRANGE =
|
|
|
|
new RedisCommand<Map<String, Map<StreamMessageId, Map<Object, Object>>>>("XREVRANGE", XRANGE.getReplayMultiDecoder(), ValueType.MAP);
|
|
|
|
new RedisCommand<Map<String, Map<StreamMessageId, Map<Object, Object>>>>("XREVRANGE", XRANGE.getReplayMultiDecoder(), ValueType.MAP);
|
|
|
|
|
|
|
|
|
|
|
|
RedisCommand<Map<String, Map<StreamMessageId, Map<Object, Object>>>> XREAD = new RedisCommand<Map<String, Map<StreamMessageId, Map<Object, Object>>>>("XREAD",
|
|
|
|
RedisCommand<Map<String, Map<StreamMessageId, Map<Object, Object>>>> XREAD = new RedisCommand<Map<String, Map<StreamMessageId, Map<Object, Object>>>>("XREAD",
|
|
|
|
new ListMultiDecoder(
|
|
|
|
new ListMultiDecoder2(
|
|
|
|
|
|
|
|
new StreamResultDecoder(false),
|
|
|
|
new ObjectDecoder(StringCodec.INSTANCE.getValueDecoder()),
|
|
|
|
new ObjectDecoder(StringCodec.INSTANCE.getValueDecoder()),
|
|
|
|
new ObjectDecoder(new StreamIdDecoder()),
|
|
|
|
new ObjectDecoder(new StreamIdDecoder()),
|
|
|
|
new StreamObjectMapReplayDecoder(),
|
|
|
|
new ObjectDecoder(new StreamIdDecoder()),
|
|
|
|
new StreamObjectMapReplayDecoder(ListMultiDecoder.RESET_1),
|
|
|
|
new StreamObjectMapReplayDecoder()), ValueType.MAP);
|
|
|
|
new ObjectMapJoinDecoder(),
|
|
|
|
|
|
|
|
new StreamObjectMapReplayDecoder(ListMultiDecoder.RESET_INDEX),
|
|
|
|
|
|
|
|
new StreamResultDecoder()), ValueType.MAP);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
RedisCommand<Map<String, Map<StreamMessageId, Map<Object, Object>>>> XREAD_BLOCKING = new RedisCommand<Map<String, Map<StreamMessageId, Map<Object, Object>>>>("XREAD", XREAD.getReplayMultiDecoder());
|
|
|
|
RedisCommand<Map<String, Map<StreamMessageId, Map<Object, Object>>>> XREAD_BLOCKING = new RedisCommand<Map<String, Map<StreamMessageId, Map<Object, Object>>>>("XREAD", XREAD.getReplayMultiDecoder());
|
|
|
|
|
|
|
|
|
|
|
|
RedisCommand<Map<StreamMessageId, Map<Object, Object>>> XREAD_SINGLE = new RedisCommand<Map<StreamMessageId, Map<Object, Object>>>("XREAD",
|
|
|
|
RedisCommand<Map<StreamMessageId, Map<Object, Object>>> XREAD_SINGLE = new RedisCommand<Map<StreamMessageId, Map<Object, Object>>>("XREAD",
|
|
|
|
new ListMultiDecoder(
|
|
|
|
new ListMultiDecoder2(
|
|
|
|
|
|
|
|
new StreamResultDecoder(true),
|
|
|
|
new ObjectDecoder(StringCodec.INSTANCE.getValueDecoder()),
|
|
|
|
new ObjectDecoder(StringCodec.INSTANCE.getValueDecoder()),
|
|
|
|
new ObjectDecoder(new StreamIdDecoder()),
|
|
|
|
new ObjectDecoder(new StreamIdDecoder()),
|
|
|
|
new StreamObjectMapReplayDecoder(),
|
|
|
|
new ObjectDecoder(new StreamIdDecoder()),
|
|
|
|
new StreamObjectMapReplayDecoder(ListMultiDecoder.RESET_1),
|
|
|
|
new StreamObjectMapReplayDecoder()), ValueType.MAP);
|
|
|
|
new ObjectMapJoinDecoder(),
|
|
|
|
|
|
|
|
new StreamObjectMapReplayDecoder(),
|
|
|
|
|
|
|
|
new StreamResultDecoder()), ValueType.MAP);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
RedisCommand<Map<StreamMessageId, Map<Object, Object>>> XREAD_BLOCKING_SINGLE =
|
|
|
|
RedisCommand<Map<StreamMessageId, Map<Object, Object>>> XREAD_BLOCKING_SINGLE =
|
|
|
|
new RedisCommand<Map<StreamMessageId, Map<Object, Object>>>("XREAD", XREAD_SINGLE.getReplayMultiDecoder(), ValueType.MAP);
|
|
|
|
new RedisCommand<Map<StreamMessageId, Map<Object, Object>>>("XREAD", XREAD_SINGLE.getReplayMultiDecoder(), ValueType.MAP);
|
|
|
|
|
|
|
|
|
|
|
|
RedisCommand<Map<String, Map<StreamMessageId, Map<Object, Object>>>> XREADGROUP = new RedisCommand<Map<String, Map<StreamMessageId, Map<Object, Object>>>>("XREADGROUP",
|
|
|
|
RedisCommand<Map<String, Map<StreamMessageId, Map<Object, Object>>>> XREADGROUP = new RedisCommand<Map<String, Map<StreamMessageId, Map<Object, Object>>>>("XREADGROUP",
|
|
|
|
new ListMultiDecoder(
|
|
|
|
new ListMultiDecoder2(
|
|
|
|
|
|
|
|
new StreamResultDecoder(false),
|
|
|
|
new ObjectDecoder(StringCodec.INSTANCE.getValueDecoder()),
|
|
|
|
new ObjectDecoder(StringCodec.INSTANCE.getValueDecoder()),
|
|
|
|
new ObjectDecoder(new StreamIdDecoder()),
|
|
|
|
new ObjectDecoder(new StreamIdDecoder()),
|
|
|
|
new StreamObjectMapReplayDecoder(),
|
|
|
|
new ObjectDecoder(new StreamIdDecoder()),
|
|
|
|
new StreamObjectMapReplayDecoder(ListMultiDecoder.RESET_1),
|
|
|
|
new StreamObjectMapReplayDecoder()), ValueType.MAP);
|
|
|
|
new ObjectMapJoinDecoder(),
|
|
|
|
|
|
|
|
new StreamObjectMapReplayDecoder(ListMultiDecoder.RESET_INDEX),
|
|
|
|
|
|
|
|
new StreamResultDecoder()), ValueType.MAP);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
RedisCommand<Map<String, Map<StreamMessageId, Map<Object, Object>>>> XREADGROUP_BLOCKING =
|
|
|
|
RedisCommand<Map<String, Map<StreamMessageId, Map<Object, Object>>>> XREADGROUP_BLOCKING =
|
|
|
|
new RedisCommand<Map<String, Map<StreamMessageId, Map<Object, Object>>>>("XREADGROUP", XREADGROUP.getReplayMultiDecoder(), ValueType.MAP);
|
|
|
|
new RedisCommand<Map<String, Map<StreamMessageId, Map<Object, Object>>>>("XREADGROUP", XREADGROUP.getReplayMultiDecoder(), ValueType.MAP);
|
|
|
|
|
|
|
|
|
|
|
|
RedisCommand<Map<StreamMessageId, Map<Object, Object>>> XREADGROUP_SINGLE = new RedisCommand<Map<StreamMessageId, Map<Object, Object>>>("XREADGROUP",
|
|
|
|
RedisCommand<Map<StreamMessageId, Map<Object, Object>>> XREADGROUP_SINGLE = new RedisCommand<Map<StreamMessageId, Map<Object, Object>>>("XREADGROUP",
|
|
|
|
new ListMultiDecoder(
|
|
|
|
new ListMultiDecoder2(
|
|
|
|
|
|
|
|
new StreamResultDecoder(true),
|
|
|
|
new ObjectDecoder(StringCodec.INSTANCE.getValueDecoder()),
|
|
|
|
new ObjectDecoder(StringCodec.INSTANCE.getValueDecoder()),
|
|
|
|
new ObjectDecoder(new StreamIdDecoder()),
|
|
|
|
new ObjectDecoder(new StreamIdDecoder()),
|
|
|
|
new StreamObjectMapReplayDecoder(),
|
|
|
|
new ObjectDecoder(new StreamIdDecoder()),
|
|
|
|
new StreamObjectMapReplayDecoder(ListMultiDecoder.RESET_1),
|
|
|
|
new StreamObjectMapReplayDecoder()), ValueType.MAP);
|
|
|
|
new ObjectMapJoinDecoder(),
|
|
|
|
|
|
|
|
new StreamObjectMapReplayDecoder(),
|
|
|
|
|
|
|
|
new StreamResultDecoder()), ValueType.MAP);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
RedisCommand<StreamInfo<Object, Object>> XINFO_GROUPS = new RedisCommand<StreamInfo<Object, Object>>("XINFO", "GROUPS",
|
|
|
|
RedisCommand<StreamInfo<Object, Object>> XINFO_GROUPS = new RedisCommand<StreamInfo<Object, Object>>("XINFO", "GROUPS",
|
|
|
|
new ListMultiDecoder(0, new StreamGroupInfoDecoder(), new ObjectListReplayDecoder()));
|
|
|
|
new ListMultiDecoder2(new ObjectListReplayDecoder(), new StreamGroupInfoDecoder()));
|
|
|
|
|
|
|
|
|
|
|
|
RedisCommand<StreamInfo<Object, Object>> XINFO_CONSUMERS = new RedisCommand<StreamInfo<Object, Object>>("XINFO", "CONSUMERS",
|
|
|
|
RedisCommand<StreamInfo<Object, Object>> XINFO_CONSUMERS = new RedisCommand<>("XINFO", "CONSUMERS",
|
|
|
|
new ListMultiDecoder(0, new StreamConsumerInfoDecoder(), new ObjectListReplayDecoder()));
|
|
|
|
new ListMultiDecoder2(new ObjectListReplayDecoder(), new StreamConsumerInfoDecoder()));
|
|
|
|
|
|
|
|
|
|
|
|
RedisCommand<List<StreamMessageId>> XCLAIM_IDS = new RedisCommand<List<StreamMessageId>>("XCLAIM", new StreamIdListDecoder());
|
|
|
|
RedisCommand<List<StreamMessageId>> XCLAIM_IDS = new RedisCommand<List<StreamMessageId>>("XCLAIM", new StreamIdListDecoder());
|
|
|
|
|
|
|
|
|
|
|
|
RedisCommand<Map<StreamMessageId, Map<Object, Object>>> XCLAIM = new RedisCommand<Map<StreamMessageId, Map<Object, Object>>>("XCLAIM",
|
|
|
|
RedisCommand<Map<StreamMessageId, Map<Object, Object>>> XCLAIM = new RedisCommand<Map<StreamMessageId, Map<Object, Object>>>("XCLAIM",
|
|
|
|
new ListMultiDecoder(
|
|
|
|
new ListMultiDecoder2(
|
|
|
|
|
|
|
|
new ObjectMapReplayDecoder2(),
|
|
|
|
new ObjectDecoder(new StreamIdDecoder()),
|
|
|
|
new ObjectDecoder(new StreamIdDecoder()),
|
|
|
|
new StreamObjectMapReplayDecoder(),
|
|
|
|
new StreamObjectMapReplayDecoder()), ValueType.MAP);
|
|
|
|
new StreamObjectMapReplayDecoder(ListMultiDecoder.RESET),
|
|
|
|
|
|
|
|
new ObjectMapJoinDecoder()), ValueType.MAP);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
RedisCommand<Map<StreamMessageId, Map<Object, Object>>> XREADGROUP_BLOCKING_SINGLE = new RedisCommand<Map<StreamMessageId, Map<Object, Object>>>("XREADGROUP",
|
|
|
|
RedisCommand<Map<StreamMessageId, Map<Object, Object>>> XREADGROUP_BLOCKING_SINGLE = new RedisCommand<Map<StreamMessageId, Map<Object, Object>>>("XREADGROUP",
|
|
|
|
XREADGROUP_SINGLE.getReplayMultiDecoder());
|
|
|
|
XREADGROUP_SINGLE.getReplayMultiDecoder());
|
|
|
@ -418,7 +407,7 @@ public interface RedisCommands {
|
|
|
|
RedisStrictCommand<Long> XDEL = new RedisStrictCommand<Long>("XDEL");
|
|
|
|
RedisStrictCommand<Long> XDEL = new RedisStrictCommand<Long>("XDEL");
|
|
|
|
RedisStrictCommand<Long> XTRIM = new RedisStrictCommand<Long>("XTRIM");
|
|
|
|
RedisStrictCommand<Long> XTRIM = new RedisStrictCommand<Long>("XTRIM");
|
|
|
|
RedisCommand<Object> XPENDING = new RedisCommand<Object>("XPENDING",
|
|
|
|
RedisCommand<Object> XPENDING = new RedisCommand<Object>("XPENDING",
|
|
|
|
new ListMultiDecoder(0, new ObjectListReplayDecoder(), new ObjectListReplayDecoder(ListMultiDecoder.RESET), new PendingResultDecoder()));
|
|
|
|
new ListMultiDecoder2(new PendingResultDecoder(), new ObjectListReplayDecoder(), new ObjectListReplayDecoder()));
|
|
|
|
RedisCommand<Object> XPENDING_ENTRIES = new RedisCommand<Object>("XPENDING",
|
|
|
|
RedisCommand<Object> XPENDING_ENTRIES = new RedisCommand<Object>("XPENDING",
|
|
|
|
new PendingEntryDecoder());
|
|
|
|
new PendingEntryDecoder());
|
|
|
|
|
|
|
|
|
|
|
@ -458,11 +447,11 @@ public interface RedisCommands {
|
|
|
|
|
|
|
|
|
|
|
|
RedisStrictCommand<List<String>> SENTINEL_GET_MASTER_ADDR_BY_NAME = new RedisStrictCommand<List<String>>("SENTINEL", "GET-MASTER-ADDR-BY-NAME", new StringListReplayDecoder());
|
|
|
|
RedisStrictCommand<List<String>> SENTINEL_GET_MASTER_ADDR_BY_NAME = new RedisStrictCommand<List<String>>("SENTINEL", "GET-MASTER-ADDR-BY-NAME", new StringListReplayDecoder());
|
|
|
|
RedisCommand<List<Map<String, String>>> SENTINEL_MASTERS = new RedisCommand<List<Map<String, String>>>("SENTINEL", "MASTERS",
|
|
|
|
RedisCommand<List<Map<String, String>>> SENTINEL_MASTERS = new RedisCommand<List<Map<String, String>>>("SENTINEL", "MASTERS",
|
|
|
|
new ListMultiDecoder(new ObjectMapReplayDecoder(), new ObjectListReplayDecoder<String>(ListMultiDecoder.RESET), new ListResultReplayDecoder()));
|
|
|
|
new ListMultiDecoder2(new ListResultReplayDecoder(), new ObjectMapReplayDecoder()));
|
|
|
|
RedisCommand<List<Map<String, String>>> SENTINEL_SLAVES = new RedisCommand<List<Map<String, String>>>("SENTINEL", "SLAVES",
|
|
|
|
RedisCommand<List<Map<String, String>>> SENTINEL_SLAVES = new RedisCommand<List<Map<String, String>>>("SENTINEL", "SLAVES",
|
|
|
|
new ListMultiDecoder(new ObjectMapReplayDecoder(), new ObjectListReplayDecoder<String>(ListMultiDecoder.RESET), new ListResultReplayDecoder()));
|
|
|
|
new ListMultiDecoder2(new ListResultReplayDecoder(), new ObjectMapReplayDecoder()));
|
|
|
|
RedisCommand<List<Map<String, String>>> SENTINEL_SENTINELS = new RedisCommand<List<Map<String, String>>>("SENTINEL", "SENTINELS",
|
|
|
|
RedisCommand<List<Map<String, String>>> SENTINEL_SENTINELS = new RedisCommand<List<Map<String, String>>>("SENTINEL", "SENTINELS",
|
|
|
|
new ListMultiDecoder(new ObjectMapReplayDecoder(), new ObjectListReplayDecoder<String>(ListMultiDecoder.RESET), new ListResultReplayDecoder()));
|
|
|
|
new ListMultiDecoder2(new ListResultReplayDecoder(), new ObjectMapReplayDecoder()));
|
|
|
|
|
|
|
|
|
|
|
|
RedisStrictCommand<Void> CLUSTER_ADDSLOTS = new RedisStrictCommand<Void>("CLUSTER", "ADDSLOTS");
|
|
|
|
RedisStrictCommand<Void> CLUSTER_ADDSLOTS = new RedisStrictCommand<Void>("CLUSTER", "ADDSLOTS");
|
|
|
|
RedisStrictCommand<Void> CLUSTER_REPLICATE = new RedisStrictCommand<Void>("CLUSTER", "REPLICATE");
|
|
|
|
RedisStrictCommand<Void> CLUSTER_REPLICATE = new RedisStrictCommand<Void>("CLUSTER", "REPLICATE");
|
|
|
|