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 CancellationExceptionThrown by Future.get when the work was cancelled before it ran.
class ExecutionExceptionThrown by Future.get when the work failed; the cause is what it threw.
interface FutureThe 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 sharedCompile-time API for time units.
class TimeoutExceptionThrown by Future.get(long, TimeUnit) when the work has not finished in time.