You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/main/java/org/dataloader/registries/ScheduledDataLoaderRegistry.java
+52-11Lines changed: 52 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -15,15 +15,34 @@
15
15
16
16
/**
17
17
* This {@link DataLoaderRegistry} will use a {@link DispatchPredicate} when {@link #dispatchAll()} is called
18
-
* to test (for each {@link DataLoader} in the registry) if a dispatch should proceed. If the predicate returns false, then a task is scheduled
19
-
* to perform that predicate dispatch again via the {@link ScheduledExecutorService}.
18
+
* to test (for each {@link DataLoader} in the registry) if a dispatch should proceed. If the predicate returns false,
19
+
* then a task is scheduled to perform that predicate dispatch again via the {@link ScheduledExecutorService}.
20
20
* <p>
21
-
* This will continue to loop (test false and reschedule) until such time as the predicate returns true, in which case
22
-
* no rescheduling will occur and you will need to call dispatch again to restart the process.
21
+
* In the default mode, when {@link #tickerMode} is false, the registry will continue to loop (test false and reschedule) until such time as the predicate returns true, in which case
22
+
* no rescheduling will occur, and you will need to call dispatch again to restart the process.
23
+
* <p>
24
+
* However, when {@link #tickerMode} is true, the registry will always reschedule continuously after the first ever call to {@link #dispatchAll()}.
25
+
* <p>
26
+
* This will allow you to chain together {@link DataLoader} load calls like this :
0 commit comments