< prev index next >

modules/javafx.graphics/src/main/java/javafx/concurrent/ScheduledService.java

Print this page
rev 10598 : 8185767: Fix broken links in Javadocs

*** 128,138 **** * will treat that duration as if it were Duration.ZERO. Likewise, any Duration which answers true * to {@link javafx.util.Duration#isIndefinite()} will be treated as if it were a duration of Double.MAX_VALUE * milliseconds. Any null Duration is treated as Duration.ZERO. Any custom implementation of an backoff strategy * callback must be prepared to handle these different potential values.</p> * ! * <p>The ScheduledService introduces a new property called {@link #lastValue}. The lastValue is the value that * was last successfully computed. Because a Service clears its {@code value} property on each run, and * because the ScheduledService will reschedule a run immediately after completion (unless it enters the * cancelled or failed states), the value property is not overly useful on a ScheduledService. In most cases * you will want to instead use the value returned by lastValue.</p> * --- 128,138 ---- * will treat that duration as if it were Duration.ZERO. Likewise, any Duration which answers true * to {@link javafx.util.Duration#isIndefinite()} will be treated as if it were a duration of Double.MAX_VALUE * milliseconds. Any null Duration is treated as Duration.ZERO. Any custom implementation of an backoff strategy * callback must be prepared to handle these different potential values.</p> * ! * <p>The ScheduledService introduces a new property called {@link #lastValueProperty() lastValue}. The lastValue is the value that * was last successfully computed. Because a Service clears its {@code value} property on each run, and * because the ScheduledService will reschedule a run immediately after completion (unless it enters the * cancelled or failed states), the value property is not overly useful on a ScheduledService. In most cases * you will want to instead use the value returned by lastValue.</p> *
< prev index next >