@@ -77,11 +77,16 @@ public abstract class Scheduler {
77
77
* This default implementation schedules recursively and waits for actions to complete (instead of potentially executing
78
78
* long-running actions concurrently). Each scheduler that can do periodic scheduling in a better way should override this.
79
79
*
80
- * @param state State to pass into the action.
81
- * @param action The action to execute periodically.
82
- * @param initialDelay Time to wait before executing the action for the first time.
83
- * @param period The time interval to wait each time in between executing the action.
84
- * @param unit The time unit the interval above is given in.
80
+ * @param state
81
+ * State to pass into the action.
82
+ * @param action
83
+ * The action to execute periodically.
84
+ * @param initialDelay
85
+ * Time to wait before executing the action for the first time.
86
+ * @param period
87
+ * The time interval to wait each time in between executing the action.
88
+ * @param unit
89
+ * The time unit the interval above is given in.
85
90
* @return A subscription to be able to unsubscribe from action.
86
91
*/
87
92
public <T > Subscription schedulePeriodically (T state , final Func2 <Scheduler , T , Subscription > action , long initialDelay , long period , TimeUnit unit ) {
@@ -249,10 +254,14 @@ public Subscription call(@SuppressWarnings("unused") Scheduler scheduler, @Suppr
249
254
/**
250
255
* Schedules a cancelable action to be executed periodically.
251
256
*
252
- * @param action The action to execute periodically.
253
- * @param initialDelay Time to wait before executing the action for the first time.
254
- * @param period The time interval to wait each time in between executing the action.
255
- * @param unit The time unit the interval above is given in.
257
+ * @param action
258
+ * The action to execute periodically.
259
+ * @param initialDelay
260
+ * Time to wait before executing the action for the first time.
261
+ * @param period
262
+ * The time interval to wait each time in between executing the action.
263
+ * @param unit
264
+ * The time unit the interval above is given in.
256
265
* @return A subscription to be able to unsubscribe from action.
257
266
*/
258
267
public Subscription schedulePeriodically (final Func1 <Scheduler , Subscription > action , long initialDelay , long period , TimeUnit unit ) {
@@ -267,10 +276,14 @@ public Subscription call(Scheduler scheduler, @SuppressWarnings("unused") Void s
267
276
/**
268
277
* Schedules a cancelable action to be executed periodically.
269
278
*
270
- * @param action The action to execute periodically.
271
- * @param initialDelay Time to wait before executing the action for the first time.
272
- * @param period The time interval to wait each time in between executing the action.
273
- * @param unit The time unit the interval above is given in.
279
+ * @param action
280
+ * The action to execute periodically.
281
+ * @param initialDelay
282
+ * Time to wait before executing the action for the first time.
283
+ * @param period
284
+ * The time interval to wait each time in between executing the action.
285
+ * @param unit
286
+ * The time unit the interval above is given in.
274
287
* @return A subscription to be able to unsubscribe from action.
275
288
*/
276
289
public Subscription schedulePeriodically (final Func0 <Subscription > action , long initialDelay , long period , TimeUnit unit ) {
@@ -285,10 +298,14 @@ public Subscription call(@SuppressWarnings("unused") Scheduler scheduler, @Suppr
285
298
/**
286
299
* Schedules an action to be executed periodically.
287
300
*
288
- * @param action The action to execute periodically.
289
- * @param initialDelay Time to wait before executing the action for the first time.
290
- * @param period The time interval to wait each time in between executing the action.
291
- * @param unit The time unit the interval above is given in.
301
+ * @param action
302
+ * The action to execute periodically.
303
+ * @param initialDelay
304
+ * Time to wait before executing the action for the first time.
305
+ * @param period
306
+ * The time interval to wait each time in between executing the action.
307
+ * @param unit
308
+ * The time unit the interval above is given in.
292
309
* @return A subscription to be able to unsubscribe from action.
293
310
*/
294
311
public Subscription schedulePeriodically (final Action0 action , long initialDelay , long period , TimeUnit unit ) {
0 commit comments