File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
src/main/java/org/springframework/data/redis/connection Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -520,7 +520,6 @@ public XAddOptions nomkstream(boolean nomkstream) {
520520 return new XAddOptions (nomkstream , trimOptions );
521521 }
522522
523-
524523 public boolean hasTrimOptions () {
525524 return trimOptions != null ;
526525 }
@@ -558,14 +557,17 @@ public int hashCode() {
558557 * @since 4.1
559558 */
560559 enum StreamDeletionPolicy {
560+
561561 /**
562562 * Remove entries according to the specified strategy, but preserve existing references.
563563 */
564564 KEEP_REFERENCES ,
565+
565566 /**
566567 * Remove entries according to the specified strategy and remove references.
567568 */
568569 DELETE_REFERENCES ,
570+
569571 /**
570572 * Remove entries that are read and acknowledged and remove references.
571573 */
@@ -596,14 +598,17 @@ enum StreamDeletionPolicy {
596598 enum StreamEntryDeletionResult {
597599
598600 UNKNOWN (-2L ),
601+
599602 /**
600603 * The entry ID does not exist in the stream.
601604 */
602605 NOT_FOUND (-1L ),
606+
603607 /**
604608 * The entry was successfully deleted from the stream.
605609 */
606610 DELETED (1L ),
611+
607612 /**
608613 * The entry was acknowledged but not deleted (when using ACKED deletion policy with dangling references).
609614 */
You can’t perform that action at this time.
0 commit comments