@@ -65,9 +65,9 @@ public ScanCursor(ScanOptions options) {
65
65
* Crates new {@link ScanCursor} with {@link ScanOptions#NONE}
66
66
*
67
67
* @param cursorId the cursor Id.
68
- * @deprecated since 3.2.1
68
+ * @deprecated since 3.3.0 - Use {@link ScanCursor#ScanCursor(CursorId)} instead.
69
69
*/
70
- @ Deprecated
70
+ @ Deprecated ( since = "3.3.0" )
71
71
public ScanCursor (long cursorId ) {
72
72
this (cursorId , ScanOptions .NONE );
73
73
}
@@ -76,7 +76,7 @@ public ScanCursor(long cursorId) {
76
76
* Crates new {@link ScanCursor} with {@link ScanOptions#NONE}
77
77
*
78
78
* @param cursorId the cursor Id.
79
- * @since 3.2.1
79
+ * @since 3.3.0
80
80
*/
81
81
public ScanCursor (CursorId cursorId ) {
82
82
this (cursorId , ScanOptions .NONE );
@@ -87,9 +87,9 @@ public ScanCursor(CursorId cursorId) {
87
87
*
88
88
* @param cursorId the cursor Id.
89
89
* @param options Defaulted to {@link ScanOptions#NONE} if {@code null}.
90
- * @deprecated since 3.2.1
90
+ * @deprecated since 3.3.0 - Use {@link ScanCursor#ScanCursor(CursorId, ScanOptions)} instead.
91
91
*/
92
- @ Deprecated
92
+ @ Deprecated ( since = "3.3.0" )
93
93
public ScanCursor (long cursorId , @ Nullable ScanOptions options ) {
94
94
this (CursorId .of (cursorId ), options );
95
95
}
@@ -99,7 +99,7 @@ public ScanCursor(long cursorId, @Nullable ScanOptions options) {
99
99
*
100
100
* @param cursorId the cursor Id.
101
101
* @param options Defaulted to {@link ScanOptions#NONE} if {@code null}.
102
- * @since 3.2.1
102
+ * @since 3.3.0
103
103
*/
104
104
public ScanCursor (CursorId cursorId , @ Nullable ScanOptions options ) {
105
105
@@ -130,9 +130,9 @@ private void scan(CursorId cursorId) {
130
130
* @param cursorId
131
131
* @param options
132
132
* @return
133
- * @deprecated since 3.2.1 , cursorId, can exceed {@link Long#MAX_VALUE}.
133
+ * @deprecated since 3.3.0 , cursorId, can exceed {@link Long#MAX_VALUE}.
134
134
*/
135
- @ Deprecated (since = "3.2.1 " )
135
+ @ Deprecated (since = "3.3.0 " )
136
136
protected ScanIteration <T > doScan (long cursorId , ScanOptions options ) {
137
137
return doScan (CursorId .of (cursorId ), scanOptions );
138
138
}
@@ -144,7 +144,7 @@ protected ScanIteration<T> doScan(long cursorId, ScanOptions options) {
144
144
* @param cursorId
145
145
* @param options
146
146
* @return
147
- * @since 3.2.1
147
+ * @since 3.3.0
148
148
*/
149
149
protected ScanIteration <T > doScan (CursorId cursorId , ScanOptions options ) {
150
150
return doScan (Long .parseLong (cursorId .getCursorId ()), scanOptions );
@@ -169,9 +169,9 @@ public final ScanCursor<T> open() {
169
169
* Customization hook when calling {@link #open()}.
170
170
*
171
171
* @param cursorId
172
- * @deprecated since 3.2.1 , use {@link #doOpen(CursorId)} instead.
172
+ * @deprecated since 3.3.0 , use {@link #doOpen(CursorId)} instead.
173
173
*/
174
- @ Deprecated (since = "3.2.1 " , forRemoval = true )
174
+ @ Deprecated (since = "3.3.0 " , forRemoval = true )
175
175
protected void doOpen (long cursorId ) {
176
176
doOpen (CursorId .of (cursorId ));
177
177
}
@@ -207,7 +207,7 @@ private void processScanResult(ScanIteration<T> result) {
207
207
* @return {@literal true} if the cursor is considered finished, {@literal false} otherwise.s
208
208
* @since 2.1
209
209
*/
210
- @ Deprecated (since = "3.2.1 " , forRemoval = true )
210
+ @ Deprecated (since = "3.3.0 " , forRemoval = true )
211
211
protected boolean isFinished (long cursorId ) {
212
212
return cursorId == 0 ;
213
213
}
@@ -217,7 +217,7 @@ protected boolean isFinished(long cursorId) {
217
217
*
218
218
* @param cursorId the cursor Id
219
219
* @return {@literal true} if the cursor is considered finished, {@literal false} otherwise.s
220
- * @since 2.1
220
+ * @since 3.3.0
221
221
*/
222
222
protected boolean isFinished (CursorId cursorId ) {
223
223
return CursorId .isInitial (cursorId .getCursorId ());
0 commit comments