Client and backend. Every class listed here is shared: the same code is compiled into your app and into your server. The package's page in the client API lists all of it, including any classes that exist only in the app.

package java.util.concurrent

Types

class AbstractExecutorServiceThe ExecutorService methods that need nothing but execute: a subclass provides execution and the life cycle, and gets submit, invokeAll and invokeAny from here.
interface CallableA task that answers a result and may throw.
class CancellationExceptionThrown by Future.get when the work was cancelled before it ran.
class CompletableFuturejava.util.concurrent.CompletableFuture for the Codename One runtime.
class CompletionExceptionjava.util.concurrent.CompletionException: a stage failed, or the one it depended on did; the cause is the original exception.
interface CompletionStagejava.util.concurrent.CompletionStage: one step of a computation that others can be attached to.
class ConcurrentHashMapjava.util.concurrent.ConcurrentHashMap for the Codename One runtime, over a HashMap.
interface ConcurrentMapA map whose compound operations are atomic.
class CopyOnWriteArrayListjava.util.concurrent.CopyOnWriteArrayList for the Codename One runtime.
class CopyOnWriteArraySetjava.util.concurrent.CopyOnWriteArraySet for the Codename One runtime: a set kept in a CopyOnWriteArrayList, in the order its elements were added.
class CountDownLatchjava.util.concurrent.CountDownLatch: threads wait until a count reaches zero.
interface DelayedSomething that is due after a delay, ordered by when it is due.
class ExecutionExceptionThrown by Future.get when the work failed; the cause is what it threw.
interface ExecutorRuns submitted tasks, on a thread of its choosing.
interface ExecutorServiceAn Executor that answers a Future for a submitted task and can be shut down.
class ExecutorsFactories for the executor services.
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 FutureTaskA cancellable computation whose result is read through Future.
class RejectedExecutionExceptionThrown by an Executor that does not accept a task, typically because it has been shut down.
interface RunnableFutureA Future that is also the task computing it: running it completes it.
interface ScheduledExecutorServicejava.util.concurrent.ScheduledExecutorService: an executor that also runs work after a delay, or again and again.
interface ScheduledFuturejava.util.concurrent.ScheduledFuture: the result of work an executor was asked to run later.
interface ThreadFactoryMakes the threads an executor runs its tasks on.
class ThreadLocalRandom
enum TimeUnitCompile-time API for time units.
class TimeoutExceptionThrown by Future.get(long, TimeUnit) when the work has not finished in time.