Package | Description |
---|---|
java.awt |
Contains all of the classes for creating user
interfaces and for painting graphics and images.
|
java.awt.event |
Provides interfaces and classes for dealing with different
types of events fired by AWT components.
|
java.awt.image.renderable |
Provides classes and interfaces for producing
rendering-independent images.
|
java.lang |
Provides classes that are fundamental to the design of the Java
programming language.
|
java.util |
Contains the collections framework, legacy collection classes, event model,
date and time facilities, internationalization, and miscellaneous utility
classes (a string tokenizer, a random-number generator, and a bit array).
|
java.util.concurrent |
Utility classes commonly useful in concurrent programming.
|
java.util.stream |
Classes to support functional-style operations on streams of elements, such
as map-reduce transformations on collections.
|
javax.net.ssl |
Provides classes for the secure socket package.
|
javax.realtime |
Jamaica's implementation of the Real-Time Specification for Java.
|
javax.realtime.memory | |
javax.swing |
Provides a set of "lightweight"
(all-Java language) components that,
to the maximum degree possible, work the same on all platforms.
|
javax.swing.text |
Provides classes and interfaces that deal with editable
and noneditable text components.
|
Modifier and Type | Method and Description |
---|---|
static void |
EventQueue.invokeAndWait(Runnable runnable)
|
static void |
EventQueue.invokeLater(Runnable runnable)
|
Modifier and Type | Field and Description |
---|---|
protected Runnable |
InvocationEvent.runnable
The Runnable whose run() method will be called.
|
Constructor and Description |
---|
InvocationEvent(Object source,
int id,
Runnable runnable,
Object notifier,
boolean catchThrowables)
Constructs an
InvocationEvent with the specified
source and ID which will execute the runnable's run
method when dispatched. |
InvocationEvent(Object source,
Runnable runnable)
Constructs an
InvocationEvent with the specified
source which will execute the runnable's run
method when dispatched. |
InvocationEvent(Object source,
Runnable runnable,
Object notifier,
boolean catchThrowables)
Constructs an
InvocationEvent with the specified
source which will execute the runnable's run
method when dispatched. |
InvocationEvent(Object source,
Runnable runnable,
Runnable listener,
boolean catchThrowables)
Constructs an
InvocationEvent with the specified
source which will execute the runnable's run
method when dispatched. |
Modifier and Type | Class and Description |
---|---|
class |
RenderableImageProducer
An adapter class that implements ImageProducer to allow the
asynchronous production of a RenderableImage.
|
Modifier and Type | Class and Description |
---|---|
class |
Thread
A thread is a thread of execution in a program.
|
Constructor and Description |
---|
Thread(Runnable target)
Allocates a new
Thread object. |
Thread(Runnable target,
String name)
Allocates a new
Thread object. |
Thread(ThreadGroup group,
Runnable target)
Allocates a new
Thread object. |
Thread(ThreadGroup group,
Runnable target,
String name)
Allocates a new
Thread object so that it has target
as its run object, has the specified name as its name,
and belongs to the thread group referred to by group . |
Thread(ThreadGroup group,
Runnable target,
String name,
long stackSize)
Allocates a new
Thread object so that it has target
as its run object, has the specified name as its name,
and belongs to the thread group referred to by group , and has
the specified stack size. |
Modifier and Type | Class and Description |
---|---|
class |
TimerTask
A task that can be scheduled for one-time or repeated execution by a Timer.
|
Modifier and Type | Interface and Description |
---|---|
interface |
RunnableFuture<V>
|
interface |
RunnableScheduledFuture<V>
A
ScheduledFuture that is Runnable . |
Modifier and Type | Class and Description |
---|---|
class |
ForkJoinWorkerThread
A thread managed by a
ForkJoinPool , which executes
ForkJoinTask s. |
class |
FutureTask<V>
A cancellable asynchronous computation.
|
Modifier and Type | Method and Description |
---|---|
BlockingQueue<Runnable> |
ScheduledThreadPoolExecutor.getQueue()
Returns the task queue used by this executor.
|
BlockingQueue<Runnable> |
ThreadPoolExecutor.getQueue()
Returns the task queue used by this executor.
|
List<Runnable> |
ScheduledThreadPoolExecutor.shutdownNow()
Attempts to stop all actively executing tasks, halts the
processing of waiting tasks, and returns a list of the tasks
that were awaiting execution.
|
List<Runnable> |
ExecutorService.shutdownNow()
Attempts to stop all actively executing tasks, halts the
processing of waiting tasks, and returns a list of the tasks
that were awaiting execution.
|
List<Runnable> |
ThreadPoolExecutor.shutdownNow()
Attempts to stop all actively executing tasks, halts the
processing of waiting tasks, and returns a list of the tasks
that were awaiting execution.
|
List<Runnable> |
ForkJoinPool.shutdownNow()
Possibly attempts to cancel and/or stop all tasks, and reject
all subsequently submitted tasks.
|
Modifier and Type | Method and Description |
---|---|
static ForkJoinTask<?> |
ForkJoinTask.adapt(Runnable runnable)
Returns a new
ForkJoinTask that performs the run
method of the given Runnable as its action, and returns
a null result upon ForkJoinTask.join() . |
static <T> ForkJoinTask<T> |
ForkJoinTask.adapt(Runnable runnable,
T result)
Returns a new
ForkJoinTask that performs the run
method of the given Runnable as its action, and returns
the given result upon ForkJoinTask.join() . |
protected void |
ThreadPoolExecutor.afterExecute(Runnable r,
Throwable t)
Method invoked upon completion of execution of the given Runnable.
|
protected void |
ThreadPoolExecutor.beforeExecute(Thread t,
Runnable r)
Method invoked prior to executing the given Runnable in the
given thread.
|
static Callable<Object> |
Executors.callable(Runnable task)
Returns a
Callable object that, when
called, runs the given task and returns null . |
static <T> Callable<T> |
Executors.callable(Runnable task,
T result)
Returns a
Callable object that, when
called, runs the given task and returns the given result. |
protected <V> RunnableScheduledFuture<V> |
ScheduledThreadPoolExecutor.decorateTask(Runnable runnable,
RunnableScheduledFuture<V> task)
Modifies or replaces the task used to execute a runnable.
|
void |
Executor.execute(Runnable command)
Executes the given command at some time in the future.
|
void |
ScheduledThreadPoolExecutor.execute(Runnable command)
Executes
command with zero required delay. |
void |
ThreadPoolExecutor.execute(Runnable command)
Executes the given task sometime in the future.
|
void |
ForkJoinPool.execute(Runnable task) |
protected <T> RunnableFuture<T> |
AbstractExecutorService.newTaskFor(Runnable runnable,
T value)
Returns a
RunnableFuture for the given runnable and default
value. |
protected <T> RunnableFuture<T> |
ForkJoinPool.newTaskFor(Runnable runnable,
T value) |
Thread |
ThreadFactory.newThread(Runnable r)
Constructs a new
Thread . |
void |
RejectedExecutionHandler.rejectedExecution(Runnable r,
ThreadPoolExecutor executor)
Method that may be invoked by a
ThreadPoolExecutor when
execute cannot accept a
task. |
void |
ThreadPoolExecutor.CallerRunsPolicy.rejectedExecution(Runnable r,
ThreadPoolExecutor e)
Executes task r in the caller's thread, unless the executor
has been shut down, in which case the task is discarded.
|
void |
ThreadPoolExecutor.AbortPolicy.rejectedExecution(Runnable r,
ThreadPoolExecutor e)
Always throws RejectedExecutionException.
|
void |
ThreadPoolExecutor.DiscardPolicy.rejectedExecution(Runnable r,
ThreadPoolExecutor e)
Does nothing, which has the effect of discarding task r.
|
void |
ThreadPoolExecutor.DiscardOldestPolicy.rejectedExecution(Runnable r,
ThreadPoolExecutor e)
Obtains and ignores the next task that the executor
would otherwise execute, if one is immediately available,
and then retries execution of task r, unless the executor
is shut down, in which case task r is instead discarded.
|
boolean |
ThreadPoolExecutor.remove(Runnable task)
Removes this task from the executor's internal queue if it is
present, thus causing it not to be run if it has not already
started.
|
CompletionStage<Void> |
CompletionStage.runAfterBoth(CompletionStage<?> other,
Runnable action)
Returns a new CompletionStage that, when this and the other
given stage both complete normally, executes the given action.
|
CompletableFuture<Void> |
CompletableFuture.runAfterBoth(CompletionStage<?> other,
Runnable action) |
CompletionStage<Void> |
CompletionStage.runAfterBothAsync(CompletionStage<?> other,
Runnable action)
Returns a new CompletionStage that, when this and the other
given stage complete normally, executes the given action using
this stage's default asynchronous execution facility.
|
CompletableFuture<Void> |
CompletableFuture.runAfterBothAsync(CompletionStage<?> other,
Runnable action) |
CompletionStage<Void> |
CompletionStage.runAfterBothAsync(CompletionStage<?> other,
Runnable action,
Executor executor)
Returns a new CompletionStage that, when this and the other
given stage complete normally, executes the given action using
the supplied executor.
|
CompletableFuture<Void> |
CompletableFuture.runAfterBothAsync(CompletionStage<?> other,
Runnable action,
Executor executor) |
CompletionStage<Void> |
CompletionStage.runAfterEither(CompletionStage<?> other,
Runnable action)
Returns a new CompletionStage that, when either this or the
other given stage complete normally, executes the given action.
|
CompletableFuture<Void> |
CompletableFuture.runAfterEither(CompletionStage<?> other,
Runnable action) |
CompletionStage<Void> |
CompletionStage.runAfterEitherAsync(CompletionStage<?> other,
Runnable action)
Returns a new CompletionStage that, when either this or the
other given stage complete normally, executes the given action
using this stage's default asynchronous execution facility.
|
CompletableFuture<Void> |
CompletableFuture.runAfterEitherAsync(CompletionStage<?> other,
Runnable action) |
CompletionStage<Void> |
CompletionStage.runAfterEitherAsync(CompletionStage<?> other,
Runnable action,
Executor executor)
Returns a new CompletionStage that, when either this or the
other given stage complete normally, executes the given action
using the supplied executor.
|
CompletableFuture<Void> |
CompletableFuture.runAfterEitherAsync(CompletionStage<?> other,
Runnable action,
Executor executor) |
static CompletableFuture<Void> |
CompletableFuture.runAsync(Runnable runnable)
Returns a new CompletableFuture that is asynchronously completed
by a task running in the
ForkJoinPool.commonPool() after
it runs the given action. |
static CompletableFuture<Void> |
CompletableFuture.runAsync(Runnable runnable,
Executor executor)
Returns a new CompletableFuture that is asynchronously completed
by a task running in the given executor after it runs the given
action.
|
ScheduledFuture<?> |
ScheduledExecutorService.schedule(Runnable command,
long delay,
TimeUnit unit)
Creates and executes a one-shot action that becomes enabled
after the given delay.
|
ScheduledFuture<?> |
ScheduledThreadPoolExecutor.schedule(Runnable command,
long delay,
TimeUnit unit) |
ScheduledFuture<?> |
ScheduledExecutorService.scheduleAtFixedRate(Runnable command,
long initialDelay,
long period,
TimeUnit unit)
Creates and executes a periodic action that becomes enabled first
after the given initial delay, and subsequently with the given
period; that is executions will commence after
initialDelay then initialDelay+period , then
initialDelay + 2 * period , and so on. |
ScheduledFuture<?> |
ScheduledThreadPoolExecutor.scheduleAtFixedRate(Runnable command,
long initialDelay,
long period,
TimeUnit unit) |
ScheduledFuture<?> |
ScheduledExecutorService.scheduleWithFixedDelay(Runnable command,
long initialDelay,
long delay,
TimeUnit unit)
Creates and executes a periodic action that becomes enabled first
after the given initial delay, and subsequently with the
given delay between the termination of one execution and the
commencement of the next.
|
ScheduledFuture<?> |
ScheduledThreadPoolExecutor.scheduleWithFixedDelay(Runnable command,
long initialDelay,
long delay,
TimeUnit unit) |
Future<?> |
AbstractExecutorService.submit(Runnable task) |
Future<?> |
ScheduledThreadPoolExecutor.submit(Runnable task) |
Future<?> |
ExecutorService.submit(Runnable task)
Submits a Runnable task for execution and returns a Future
representing that task.
|
ForkJoinTask<?> |
ForkJoinPool.submit(Runnable task) |
<T> Future<T> |
AbstractExecutorService.submit(Runnable task,
T result) |
<T> Future<T> |
ScheduledThreadPoolExecutor.submit(Runnable task,
T result) |
<T> Future<T> |
ExecutorService.submit(Runnable task,
T result)
Submits a Runnable task for execution and returns a Future
representing that task.
|
<T> ForkJoinTask<T> |
ForkJoinPool.submit(Runnable task,
T result) |
Future<V> |
CompletionService.submit(Runnable task,
V result)
Submits a Runnable task for execution and returns a Future
representing that task.
|
Future<V> |
ExecutorCompletionService.submit(Runnable task,
V result) |
CompletionStage<Void> |
CompletionStage.thenRun(Runnable action)
Returns a new CompletionStage that, when this stage completes
normally, executes the given action.
|
CompletableFuture<Void> |
CompletableFuture.thenRun(Runnable action) |
CompletionStage<Void> |
CompletionStage.thenRunAsync(Runnable action)
Returns a new CompletionStage that, when this stage completes
normally, executes the given action using this stage's default
asynchronous execution facility.
|
CompletableFuture<Void> |
CompletableFuture.thenRunAsync(Runnable action) |
CompletionStage<Void> |
CompletionStage.thenRunAsync(Runnable action,
Executor executor)
Returns a new CompletionStage that, when this stage completes
normally, executes the given action using the supplied Executor.
|
CompletableFuture<Void> |
CompletableFuture.thenRunAsync(Runnable action,
Executor executor) |
Constructor and Description |
---|
CyclicBarrier(int parties,
Runnable barrierAction)
Creates a new
CyclicBarrier that will trip when the
given number of parties (threads) are waiting upon it, and which
will execute the given barrier action when the barrier is tripped,
performed by the last thread entering the barrier. |
FutureTask(Runnable runnable,
V result)
Creates a
FutureTask that will, upon running, execute the
given Runnable , and arrange that get will return the
given result on successful completion. |
Constructor and Description |
---|
ThreadPoolExecutor(int corePoolSize,
int maximumPoolSize,
long keepAliveTime,
TimeUnit unit,
BlockingQueue<Runnable> workQueue)
Creates a new
ThreadPoolExecutor with the given initial
parameters and default thread factory and rejected execution handler. |
ThreadPoolExecutor(int corePoolSize,
int maximumPoolSize,
long keepAliveTime,
TimeUnit unit,
BlockingQueue<Runnable> workQueue,
RejectedExecutionHandler handler)
Creates a new
ThreadPoolExecutor with the given initial
parameters and default thread factory. |
ThreadPoolExecutor(int corePoolSize,
int maximumPoolSize,
long keepAliveTime,
TimeUnit unit,
BlockingQueue<Runnable> workQueue,
ThreadFactory threadFactory)
Creates a new
ThreadPoolExecutor with the given initial
parameters and default rejected execution handler. |
ThreadPoolExecutor(int corePoolSize,
int maximumPoolSize,
long keepAliveTime,
TimeUnit unit,
BlockingQueue<Runnable> workQueue,
ThreadFactory threadFactory,
RejectedExecutionHandler handler)
Creates a new
ThreadPoolExecutor with the given initial
parameters. |
Modifier and Type | Method and Description |
---|---|
S |
BaseStream.onClose(Runnable closeHandler)
Returns an equivalent stream with an additional close handler.
|
Modifier and Type | Method and Description |
---|---|
abstract Runnable |
SSLEngine.getDelegatedTask()
Returns a delegated
Runnable task for
this SSLEngine . |
Modifier and Type | Interface and Description |
---|---|
interface |
BoundSchedulable
A marker interface to provide a type safe reference to all
schedulables that are bound to a single underlying thread.
|
interface |
Schedulable
Jamaica Real-Time Specification for Java class Schedulable.
|
Modifier and Type | Class and Description |
---|---|
class |
AsyncBaseEventHandler
This is the base class for all event handlers.
|
class |
AsyncEventHandler
Jamaica Real-Time Specification for Java class
AsyncEventHandler.
|
class |
AsyncLongEventHandler
A version of
AsyncBaseEventHandler that carries a
long value as payload. |
class |
AsyncObjectEventHandler<P>
A version of
AsyncBaseEventHandler that carries an
Object value as payload. |
class |
BoundAsyncEventHandler
Jamaica Real-Time Specification for Java class
BoundAsyncEventHandler.
|
class |
NoHeapRealtimeThread
Jamaica Real-Time Specification for Java class NoHeapRealTimeThread.
|
class |
RealtimeThread
Jamaica Real-Time Specification for Java class RealtimeThread.
|
Modifier and Type | Method and Description |
---|---|
void |
MemoryArea.enter(Runnable logic)
Associates this memory area with the current schedulable for the duration
of the execution of the
run() method of the given Runnable . |
void |
ScopedMemory.enter(Runnable logic)
Associates this memory area with the current schedulable for the duration
of the execution of the
run() method of the given Runnable . |
void |
MemoryArea.executeInArea(Runnable logic)
Executes the
run() method from the logic parameter using this memory
area as the current allocation context. |
void |
ScopedMemory.executeInArea(Runnable logic)
Executes the run method from the
logic parameter using this memory
area as the current allocation context. |
void |
ScopedMemory.joinAndEnter(Runnable logic)
In the error-free case,
joinAndEnter() combines
join();enter(); such that no enter() from another
schedulable can intervene between the two method invocations. |
void |
ScopedMemory.joinAndEnter(Runnable logic,
HighResolutionTime<?> time)
In the error-free case,
joinAndEnter() combines
join();enter(); such that no enter() from another
schedulable can intervene between the two method invocations. |
Constructor and Description |
---|
AsyncEventHandler(boolean noheap,
Runnable logic)
Constructor to create an instance of AsyncEventHandler with
default parameters and the specified values for the noheap and
logic parameters.
|
AsyncEventHandler(Runnable logic)
Constructor to create an instance of AsyncEventHandler with
default parameters and the specified value for the logic
parameter.
|
AsyncEventHandler(SchedulingParameters scheduling,
ReleaseParameters release,
MemoryParameters memory,
MemoryArea area,
ProcessingGroupParameters group,
boolean noheap,
Runnable logic)
Constructor to create an instance of AsyncEventHandler with the given
scheduling, release, memory, memory area, processing group,
noheap, and logic parameters.
|
AsyncEventHandler(SchedulingParameters scheduling,
ReleaseParameters release,
MemoryParameters memory,
MemoryArea area,
ProcessingGroupParameters group,
Runnable logic)
Constructor to create an instance of AsyncEventHandler with the given
scheduling, release, memory, memory area, processing group, and
logic parameters.
|
BoundAsyncEventHandler(SchedulingParameters scheduling,
ReleaseParameters release,
MemoryParameters memory,
MemoryArea area,
ProcessingGroupParameters group,
boolean nonheap,
Runnable logic)
Constructor to create an instance of BoundAsyncEventHandler with the
given scheduling, release, memory, memory area, processing group,
nonheap, and logic parameters.
|
ImmortalPhysicalMemory(Object type,
long base,
long size,
Runnable logic)
Constructor to create an instance of ImmortalPhysicalMemory with
the given type, base address, size, and logic.
|
ImmortalPhysicalMemory(Object type,
long size,
Runnable logic)
Constructor to create an instance of ImmortalPhysicalMemory with
the given type, size and logic.
|
ImmortalPhysicalMemory(Object type,
long base,
SizeEstimator size,
Runnable logic)
Constructor to create an instance of ImmortalPhysicalMemory with
the given type, base address, size, and logic.
|
ImmortalPhysicalMemory(Object type,
SizeEstimator size,
Runnable logic)
Constructor to create an instance of ImmortalPhysicalMemory with
the given type, size, and logic.
|
LTMemory(long initialSizeInBytes,
long maxSizeInBytes,
Runnable logic)
Creates an
LTMemory of the given size. |
LTMemory(long sizeInBytes,
Runnable logic)
Equivalent to
LTMemory.LTMemory(long, long, Runnable) with the argument
list (sizeInBytes, sizeInBytes, logic) . |
LTMemory(SizeEstimator size,
Runnable logic)
Equivalent to
LTMemory.LTMemory(long, long, Runnable) with the argument
list (size.getEstimate(), size.getEstimate(), logic) . |
LTMemory(SizeEstimator initial,
SizeEstimator maximum,
Runnable logic)
Equivalent to
LTMemory.LTMemory(long, long, Runnable) with the argument
list (initial.getEstimate(), maximum.getEstimate(), logic) . |
LTPhysicalMemory(Object type,
long base,
long size,
Runnable logic)
Constructor to create an instance of LTPhysicalMemory with
the given type, base address, size, and logic.
|
LTPhysicalMemory(Object type,
long size,
Runnable logic)
Constructor to create an instance of LTPhysicalMemory with the
given type, size, and logic.
|
LTPhysicalMemory(Object type,
long base,
SizeEstimator size,
Runnable logic)
Constructor to create an instance of LTPhysicalMemory with
the given type, base address, size, and logic.
|
LTPhysicalMemory(Object type,
SizeEstimator size,
Runnable logic)
Constructor to create an instance of LTPhysicalMemory with
the given type, size, and logic.
|
MemoryArea(long sizeInBytes,
Runnable logic)
Creates an instance of
MemoryArea . |
MemoryArea(SizeEstimator size,
Runnable logic)
Equivalent to
MemoryArea.MemoryArea(long, Runnable) with the argument
list (size.getEstimate(), logic) . |
NoHeapRealtimeThread(SchedulingParameters scheduling,
ReleaseParameters release,
MemoryParameters memory,
MemoryArea area,
ProcessingGroupParameters group,
Runnable logic)
Constructor to create a NoHeapRealtimeThread using specified
scheduling, release, and memory parameters, using the specified
memory area, group, and logic.
|
RealtimeThread(SchedulingParameters scheduling,
ReleaseParameters release,
MemoryParameters memory,
MemoryArea area,
ConfigurationParameters config,
TimeDispatcher dispatcher,
RealtimeThreadGroup group,
Runnable logic)
Creates a realtime thread with the given characteristics and a
specified
Runnable . |
RealtimeThread(SchedulingParameters scheduling,
ReleaseParameters release,
MemoryParameters memory,
MemoryArea area,
ProcessingGroupParameters group,
Runnable logic)
Constructor to create a RealtimeThread using specified
scheduling, release, and memory parameters, using the specified
memory area, group, and logic.
|
ScopedMemory(long sizeInBytes,
Runnable logic)
Creates a new
ScopedMemory area with the given parameters. |
ScopedMemory(SizeEstimator size,
Runnable logic)
Equivalent to
ScopedMemory.ScopedMemory(long, Runnable) with the argument list
(size.getEstimate(), logic) . |
VTMemory(long initialSizeInBytes,
long maxSizeInBytes,
Runnable logic)
Creates a
VTMemory with the given parameters. |
VTMemory(long size,
Runnable logic)
Equivalent to
VTMemory.VTMemory(long, long, Runnable) with the argument
list (size, size, logic) . |
VTMemory(SizeEstimator size,
Runnable logic)
Equivalent to
VTMemory.VTMemory(long, long, Runnable) with the argument
list (size.getEstimate(), size.getEstimate(), logic) . |
VTMemory(SizeEstimator initial,
SizeEstimator maximum,
Runnable logic)
Equivalent to
VTMemory.VTMemory(long, long, Runnable) with the argument
list (initial.getEstimate(), maximum.getEstimate(), logic) . |
VTPhysicalMemory(Object type,
long base,
long size,
Runnable logic)
Constructor to create an instance of VTPhysicalMemory with
the given type, base address, and size.
|
VTPhysicalMemory(Object type,
long size,
Runnable logic)
Constructor to create an instance of VTPhysicalMemory with
the given type and size.
|
VTPhysicalMemory(Object type,
long base,
SizeEstimator size,
Runnable logic)
Constructor to create an instance of VTPhysicalMemory with
the given type, base address, and size.
|
VTPhysicalMemory(Object type,
SizeEstimator size,
Runnable logic)
Constructor to create an instance of VTPhysicalMemory with
the given type and size.
|
WaitFreeDequeue(Runnable writer,
Runnable reader,
int maximum,
MemoryArea memory)
Deprecated.
RTSJ V1.0.1 class WaitFreeDequeue is deprecated. Use
WaitFreeRead/ WriteQueue instead.
|
WaitFreeReadQueue(Runnable writer,
Runnable reader,
int maximum,
MemoryArea memory)
Constructor to construct a non-blocking read queue in given
memory area.
|
WaitFreeReadQueue(Runnable writer,
Runnable reader,
int maximum,
MemoryArea memory,
boolean notify)
Constructor to construct a non-blocking read queue in given
memory area.
|
WaitFreeWriteQueue(Runnable writer,
Runnable reader,
int maximum,
MemoryArea memory)
Constructor to construct a non-blocking write queue in given
memory area.
|
Modifier and Type | Method and Description |
---|---|
void |
StackedMemory.enter(Runnable logic)
Associates this memory area with the current
Schedulable object for
the duration of the run() method of the given Runnable . |
void |
ScopedMemory.enter(Runnable logic)
Associates this memory area with the current schedulable for the duration
of the execution of the
run() method of the given Runnable . |
void |
ScopedMemory.executeInArea(Runnable logic)
Executes the run method from the
logic parameter using
this memory area as the current allocation context. |
void |
ScopedMemory.joinAndEnter(Runnable logic)
In the error-free case,
joinAndEnter combines
join();enter(); such that no enter() from another
schedulable can intervene between the two method invocations. |
void |
ScopedMemory.joinAndEnter(Runnable logic,
HighResolutionTime<?> time)
In the error-free case,
joinAndEnter combines
join();enter(); such that no enter() from another
schedulable can intervene between the two method invocations. |
Constructor and Description |
---|
LTMemory(long size,
Runnable logic)
Create a scoped memory of the given size and with the give logic to
run upon entry when no other logic is given.
|
LTMemory(SizeEstimator size,
Runnable logic)
Equivalent to
LTMemory.LTMemory(long, Runnable) with argument list
(size.getEstimate(), runnable) . |
StackedMemory(long scopeSize,
long backingSize,
Runnable logic)
Creates a host
StackedMemory with an object allocation area and
backing store of the specified sizes, bound to the specified Runnable . |
StackedMemory(long scopeSize,
Runnable logic)
Create a guest
StackedMemory with an object allocation area of the
specified size, bound to the specified Runnable . |
StackedMemory(SizeEstimator scopeSize,
Runnable logic)
Equivalent to
StackedMemory.StackedMemory(long, Runnable) with argument list
(scopeSize.getEstimate(), runnable) . |
StackedMemory(SizeEstimator scopeSize,
SizeEstimator backingSize,
Runnable logic)
Equivalent to
StackedMemory.StackedMemory(long, long, Runnable) with argument
list (scopeSize.getEstimate(), backingSize.getEstimate(),
runnable) . |
Modifier and Type | Class and Description |
---|---|
class |
SwingWorker<T,V>
An abstract class to perform lengthy GUI-interaction tasks in a
background thread.
|
Modifier and Type | Method and Description |
---|---|
static void |
SwingUtilities.invokeAndWait(Runnable doRun)
Causes
doRun.run() to be executed synchronously on the
AWT event dispatching thread. |
static void |
SwingUtilities.invokeLater(Runnable doRun)
Causes doRun.run() to be executed asynchronously on the
AWT event dispatching thread.
|
Modifier and Type | Class and Description |
---|---|
class |
AsyncBoxView.ChildState
A record representing the layout state of a
child view.
|
Modifier and Type | Method and Description |
---|---|
protected Runnable |
LayoutQueue.waitForWork()
Used by the worker thread to get a new task to execute
|
Modifier and Type | Method and Description |
---|---|
void |
LayoutQueue.addTask(Runnable task)
Add a task that is not needed immediately because
the results are not believed to be visible.
|
void |
Document.render(Runnable r)
Allows the model to be safely rendered in the presence
of concurrency, if the model supports being updated asynchronously.
|
void |
AbstractDocument.render(Runnable r)
This allows the model to be safely rendered in the presence
of currency, if the model supports being updated asynchronously.
|
aicas GmbH, Karlsruhe, Germany —www.aicas.com
Copyright © 2001-2019 aicas GmbH. All Rights Reserved.