Skip to content

Commit 9bcf657

Browse files
committed
deprecation
1 parent 9981600 commit 9bcf657

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

src/main/java/redis/clients/jedis/commands/MultiKeyBinaryRedisPipeline.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,10 +98,18 @@ Response<Long> georadiusStore(byte[] key, double longitude, double latitude, dou
9898
Response<Long> georadiusByMemberStore(byte[] key, byte[] member, double radius, GeoUnit unit,
9999
GeoRadiusParam param, GeoRadiusStoreParam storeParam);
100100

101+
/**
102+
* @deprecated Use {@link #xread(redis.clients.jedis.params.XReadParams, java.util.Map.Entry...)}.
103+
*/
104+
@Deprecated
101105
Response<List<byte[]>> xread(int count, long block, Map<byte[], byte[]> streams);
102106

103107
Response<List<byte[]>> xread(XReadParams xReadParams, Map.Entry<byte[], byte[]>... streams);
104108

109+
/**
110+
* @deprecated Use {@link #xreadGroup(byte..., byte..., redis.clients.jedis.params.XReadGroupParams, java.util.Map.Entry...)}.
111+
*/
112+
@Deprecated
105113
Response<List<byte[]>> xreadGroup(byte[] groupname, byte[] consumer, int count, long block,
106114
boolean noAck, Map<byte[], byte[]> streams);
107115

src/main/java/redis/clients/jedis/commands/MultiKeyCommandsPipeline.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,12 +99,20 @@ Response<Long> georadiusStore(String key, double longitude, double latitude, dou
9999
Response<Long> georadiusByMemberStore(String key, String member, double radius, GeoUnit unit,
100100
GeoRadiusParam param, GeoRadiusStoreParam storeParam);
101101

102+
/**
103+
* @deprecated Use {@link #xread(redis.clients.jedis.params.XReadParams, java.util.Map)}.
104+
*/
105+
@Deprecated
102106
Response<List<Map.Entry<String, List<StreamEntry>>>> xread(int count, long block,
103107
Map.Entry<String, StreamEntryID>... streams);
104108

105109
Response<List<Map.Entry<String, List<StreamEntry>>>> xread(XReadParams xReadParams,
106110
Map<String, StreamEntryID> streams);
107111

112+
/**
113+
* @deprecated Use {@link #xreadGroup(java.lang.String, java.lang.String, redis.clients.jedis.params.XReadGroupParams, java.util.Map)}.
114+
*/
115+
@Deprecated
108116
Response<List<Map.Entry<String, List<StreamEntry>>>> xreadGroup(String groupname, String consumer,
109117
int count, long block, boolean noAck, Map.Entry<String, StreamEntryID>... streams);
110118

0 commit comments

Comments
 (0)