hg: openjfx/8/graphics/rt: 2 new changesets
hang.vo at oracle.com
hang.vo at oracle.com
Wed Jan 30 09:48:28 PST 2013
Changeset: 1fa552fa870f
Author: Richard Bair <richard.bair at oracle.com>
Date: 2013-01-30 09:32 -0800
URL: http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/1fa552fa870f
RT-18702: Add a ScheduledService which allows to auto-restart a service
Summary: Added the ScheduledService -- we had previously discussed the API on openjfx-dev. Also added a pile of unit tests (nothing here for SQE to do as the concurrent classes are all tested via unit tests).
+ javafx-concurrent/src/javafx/concurrent/ScheduledService.java
! javafx-concurrent/src/javafx/concurrent/Service.java
- javafx-concurrent/test/javafx/concurrent/AbstractService.java
+ javafx-concurrent/test/javafx/concurrent/ScheduledServiceTest.java
! javafx-concurrent/test/javafx/concurrent/ServiceExceptionTest.java
! javafx-concurrent/test/javafx/concurrent/ServiceLifecycleTest.java
! javafx-concurrent/test/javafx/concurrent/ServiceTest.java
! javafx-concurrent/test/javafx/concurrent/ServiceTestBase.java
+ javafx-concurrent/test/javafx/concurrent/TestServiceFactory.java
Changeset: ec7e18a92765
Author: Richard Bair <richard.bair at oracle.com>
Date: 2013-01-30 09:34 -0800
URL: http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/ec7e18a92765
RT-18820: Task needs to support incremental updates to the value
Summary: Simply added a method updateValue and added documentation. Tests forthcoming. Tested manually using HelloTask (not checked in) which computed fib and constantly updated the window and it was great.
! javafx-concurrent/src/javafx/concurrent/Task.java
! javafx-concurrent/test/javafx/concurrent/TaskSwampEventQueueTest.java
More information about the openjfx-dev
mailing list