Backend API. Server-side code: this runs in a Codename One backend, not in the app on the device.
package java.util.concurrent
Types
class CancellationException | Thrown by Future.get when the work was cancelled before it ran. |
class ExecutionException | Thrown by Future.get when the work failed; the cause is what it threw. |
interface Future | The result of work that finishes later – on the backend, what an @Async method returns, completed when its body has run on its executor. |
class ThreadLocalRandom shared | |
enum TimeUnit | A unit of time, for timeouts such as Future.get(long, TimeUnit). |
class TimeoutException | Thrown by Future.get(long, TimeUnit) when the work has not finished in time. |