|
![]() |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Runnable | |
---|---|
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. |
javax.net.ssl | Provides classes for the secure socket package. |
javax.realtime | Jamaica's implementation of the Real-Time Specification for Java. |
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. |
Uses of Runnable in java.awt |
---|
Methods in java.awt with parameters of type Runnable | |
---|---|
static void |
EventQueue.invokeAndWait(Runnable runnable)
Causes runnable to have its run
method called in the dispatch thread of
the system EventQueue . |
static void |
EventQueue.invokeLater(Runnable runnable)
Causes runnable to have its run
method called in the dispatch thread of
the system EventQueue . |
Uses of Runnable in java.awt.event |
---|
Fields in java.awt.event declared as Runnable | |
---|---|
protected Runnable |
InvocationEvent.runnable
The Runnable whose run() method will be called. |
Constructors in java.awt.event with parameters of type Runnable | |
---|---|
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. |
Uses of Runnable in java.awt.image.renderable |
---|
Classes in java.awt.image.renderable that implement Runnable | |
---|---|
class |
RenderableImageProducer
An adapter class that implements ImageProducer to allow the asynchronous production of a RenderableImage. |
Uses of Runnable in java.lang |
---|
Classes in java.lang that implement Runnable | |
---|---|
class |
Thread
Class that represents Java threads. |
Constructors in java.lang with parameters of type Runnable | |
---|---|
Thread(Runnable target)
Constructor to create a new thread. |
|
Thread(Runnable target,
String name)
Constructor to create a new thread. |
|
Thread(ThreadGroup group,
Runnable target)
Constructor to create a new thread. |
|
Thread(ThreadGroup group,
Runnable target,
String name)
Constructor to create a new thread with given thread group, Runnable and name. |
|
Thread(ThreadGroup group,
Runnable target,
String name,
long stackSize)
Constructor to create a new thread with given thread group, Runnable, name and stack size. |
Uses of Runnable in java.util |
---|
Classes in java.util that implement Runnable | |
---|---|
class |
TimerTask
A task that can be scheduled for one-time or repeated execution by a Timer. |
Uses of Runnable in java.util.concurrent |
---|
Subinterfaces of Runnable in java.util.concurrent | |
---|---|
interface |
RunnableFuture<V>
A Future that is Runnable . |
interface |
RunnableScheduledFuture<V>
A ScheduledFuture that is Runnable . |
Classes in java.util.concurrent that implement Runnable | |
---|---|
class |
FutureTask<V>
A cancellable asynchronous computation. |
Methods in java.util.concurrent that return types with arguments of type Runnable | |
---|---|
BlockingQueue<Runnable> |
ThreadPoolExecutor.getQueue()
Returns the task queue used by this executor. |
BlockingQueue<Runnable> |
ScheduledThreadPoolExecutor.getQueue()
Returns the task queue used by this executor. |
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> |
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. |
Methods in java.util.concurrent with parameters of type Runnable | ||
---|---|---|
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
|
Executors.callable(Runnable task,
T result)
Returns a Callable object that, when
called, runs the given task and returns the given result. |
|
protected
|
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 |
ThreadPoolExecutor.execute(Runnable command)
Executes the given task sometime in the future. |
|
void |
ScheduledThreadPoolExecutor.execute(Runnable command)
Executes command with zero required delay. |
|
protected
|
AbstractExecutorService.newTaskFor(Runnable runnable,
T value)
Returns a RunnableFuture for the given runnable and default 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. |
|
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<?> |
ExecutorService.submit(Runnable task)
Submits a Runnable task for execution and returns a Future representing that task. |
|
Future<?> |
ScheduledThreadPoolExecutor.submit(Runnable task)
|
|
Future<?> |
AbstractExecutorService.submit(Runnable task)
|
|
|
ExecutorService.submit(Runnable task,
T result)
Submits a Runnable task for execution and returns a Future representing that task. |
|
|
ScheduledThreadPoolExecutor.submit(Runnable task,
T result)
|
|
|
AbstractExecutorService.submit(Runnable task,
T result)
|
|
Future<V> |
ExecutorCompletionService.submit(Runnable task,
V result)
|
|
Future<V> |
CompletionService.submit(Runnable task,
V result)
Submits a Runnable task for execution and returns a Future representing that task. |
Constructors in java.util.concurrent with parameters of type Runnable | |
---|---|
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 parameters in java.util.concurrent with type arguments of type Runnable | |
---|---|
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. |
Uses of Runnable in javax.net.ssl |
---|
Methods in javax.net.ssl that return Runnable | |
---|---|
abstract Runnable |
SSLEngine.getDelegatedTask()
Returns a delegated Runnable task for
this SSLEngine . |
Uses of Runnable in javax.realtime |
---|
Subinterfaces of Runnable in javax.realtime | |
---|---|
interface |
Schedulable
Jamaica Real-Time Specification for Java class Schedulable. |
Classes in javax.realtime that implement Runnable | |
---|---|
class |
AbstractAsyncEventHandler
This is the base class for all event handlers. |
class |
AsyncEventHandler
Jamaica Real-Time Specification for Java class AsyncEventHandler. |
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. |
Methods in javax.realtime with parameters of type Runnable | |
---|---|
void |
MemoryArea.enter(Runnable logic)
enter enters this memory area and executes the given logic. |
void |
ScopedMemory.enter(Runnable logic)
enter this memory area and execute the given logic. |
void |
MemoryArea.executeInArea(Runnable logic)
executeInArea executes a code sequence given as logic in this memory area. |
void |
ScopedMemory.executeInArea(Runnable logic)
executeInArea executes a code sequence given as logic in this memory area. |
void |
ScopedMemory.joinAndEnter(Runnable logic)
joinAndEnter combines join() and enter() such that no other schedulable object may enter() in between the join() and the enter(). |
void |
ScopedMemory.joinAndEnter(Runnable logic,
HighResolutionTime time)
joinAndEnter combines join() and enter() such that no other schedulable object may enter() in between the join() and the enter(). |
Constructors in javax.realtime with parameters of type Runnable | |
---|---|
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, noheap, 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)
Constructor to create an instance of LTMemory with the given initial and maximum size and default logic. |
|
LTMemory(long size,
Runnable logic)
Constructor to create an instance of LTMemory with the given size and default logic. |
|
LTMemory(SizeEstimator size,
Runnable logic)
Constructor to create an instance of LTMemory with the given size and default logic. |
|
LTMemory(SizeEstimator initial,
SizeEstimator maximum,
Runnable logic)
Constructor to create an instance of LTMemory with the given initial and maximum size and default 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)
Constructor for a memory area that of given size in bytes and sets a logic. |
|
MemoryArea(SizeEstimator size,
Runnable logic)
Constructor for a memory area that of given size from a SizeEstimator and sets a 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,
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 backingMemorySize,
long containerSize,
Runnable logic)
Constructor for a memory area with given backing memory & container sizes for stacked memory, also sets a logic. |
|
ScopedMemory(long size,
Runnable logic)
Constructor to create an instance of ScopedMemory with the given initial size and default logic. |
|
ScopedMemory(SizeEstimator size,
Runnable logic)
Constructor to create an instance of ScopedMemory with the given initial size and default logic. |
|
StackedMemory(long backingMemorySize,
long containerSize,
Runnable logic)
Create a host StackedMemory with a backing memory
in a container of the specified sizes, bound to the specified
Runnable .. |
|
StackedMemory(long backingMemorySize,
Runnable logic)
Create a guest StackedMemory with an object
allocation area of the specified size, bound to the specified
Runnable . |
|
StackedMemory(SizeEstimator backingMemorySize,
Runnable logic)
Create a guest StackedMemory with an object
allocation area of the size estimated by the specified
SizeEstimator , bound to the specified
Runnable . |
|
StackedMemory(SizeEstimator backingMemorySize,
SizeEstimator containerSize,
Runnable logic)
Create a host StackedMemory with a backing memory
in a container of the sizes estimated by the specified
SizeEstimator s, bound to the specified
Runnable . |
|
VTMemory(long initialSizeInBytes,
long maxSizeInBytes,
Runnable logic)
Constructor to create an instance of VTMemory with the given initial and maximum size and default logic. |
|
VTMemory(long size,
Runnable logic)
Constructor to create an instance of VTMemory with the given size and default logic. |
|
VTMemory(SizeEstimator size,
Runnable logic)
Constructor to create an instance of VTMemory with the given size and default logic. |
|
VTMemory(SizeEstimator initial,
SizeEstimator maximum,
Runnable logic)
Constructor to create an instance of VTMemory with the given initial and maximum size and default 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. |
Uses of Runnable in javax.swing |
---|
Classes in javax.swing that implement Runnable | |
---|---|
class |
SwingWorker<T,V>
An abstract class to perform lengthy GUI-interacting tasks in a dedicated thread. |
Methods in javax.swing with parameters of type Runnable | |
---|---|
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. |
Uses of Runnable in javax.swing.text |
---|
Classes in javax.swing.text that implement Runnable | |
---|---|
class |
AsyncBoxView.ChildState
A record representing the layout state of a child view. |
Methods in javax.swing.text that return Runnable | |
---|---|
protected Runnable |
LayoutQueue.waitForWork()
Used by the worker thread to get a new task to execute |
Methods in javax.swing.text with parameters of type Runnable | |
---|---|
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. |
|
![]() |
|||||||||
PREV NEXT | FRAMES NO FRAMES |