public interface Executor extends ExceptionHandler
jDTAUS Core SPI Executor
specification to be used by
implementations to perform operations asynchronously.
Container
Modifier and Type | Method and Description |
---|---|
void |
executeAsynchronously(Runnable runnable)
Executes a given
Runnable asynchronously. |
getExceptionEvents, handle
addExceptionListener, getExceptionListeners, removeExceptionListener
void executeAsynchronously(Runnable runnable)
Runnable
asynchronously.
This method will notify any registered ExceptionListener
s
about exceptions thrown by the given Runnable
's run()
method.
runnable
- the Runnable
to execute asynchronously.NullPointerException
- if runnable
is null
.Copyright © 2005-2012 jDTAUS. All Rights Reserved.