@@ -91,6 +91,7 @@ default RecordId xAdd(byte[] key, Map<byte[], byte[]> content) {
91
91
* @param record the {@link MapRecord record} to append.
92
92
* @return the {@link RecordId id} after save. {@literal null} when used in pipeline / transaction.
93
93
*/
94
+ @ Nullable
94
95
default RecordId xAdd (MapRecord <byte [], byte [], byte []> record ) {
95
96
return xAdd (record , XAddOptions .none ());
96
97
}
@@ -106,6 +107,7 @@ default RecordId xAdd(MapRecord<byte[], byte[], byte[]> record) {
106
107
* @return the {@link RecordId id} after save. {@literal null} when used in pipeline / transaction.
107
108
* @since 2.3
108
109
*/
110
+ @ Nullable
109
111
RecordId xAdd (MapRecord <byte [], byte [], byte []> record , XAddOptions options );
110
112
111
113
/**
@@ -188,6 +190,7 @@ public int hashCode() {
188
190
* @see <a href="https://redis.io/commands/xclaim">Redis Documentation: XCLAIM</a>
189
191
* @since 2.3
190
192
*/
193
+ @ Nullable
191
194
List <RecordId > xClaimJustId (byte [] key , String group , String newOwner , XClaimOptions options );
192
195
193
196
/**
@@ -202,6 +205,7 @@ public int hashCode() {
202
205
* @see <a href="https://redis.io/commands/xclaim">Redis Documentation: XCLAIM</a>
203
206
* @since 2.3
204
207
*/
208
+ @ Nullable
205
209
default List <ByteRecord > xClaim (byte [] key , String group , String newOwner , Duration minIdleTime ,
206
210
RecordId ... recordIds ) {
207
211
return xClaim (key , group , newOwner , XClaimOptions .minIdle (minIdleTime ).ids (recordIds ));
@@ -218,6 +222,7 @@ default List<ByteRecord> xClaim(byte[] key, String group, String newOwner, Durat
218
222
* @see <a href="https://redis.io/commands/xclaim">Redis Documentation: XCLAIM</a>
219
223
* @since 2.3
220
224
*/
225
+ @ Nullable
221
226
List <ByteRecord > xClaim (byte [] key , String group , String newOwner , XClaimOptions options );
222
227
223
228
/**
@@ -445,6 +450,7 @@ default Long xDel(byte[] key, String... recordIds) {
445
450
* @return number of removed entries. {@literal null} when used in pipeline / transaction.
446
451
* @see <a href="https://redis.io/commands/xdel">Redis Documentation: XDEL</a>
447
452
*/
453
+ @ Nullable
448
454
Long xDel (byte [] key , RecordId ... recordIds );
449
455
450
456
/**
0 commit comments